How to use a pde file in multiple projects

How can I make an include file for my scripts - SOLVED THANKS gave me answer for including pde files in a project file.pde in the same directory gets automagically added. BUT

What about when I want to use file.pde in multiple projects, I thought I might be able to place it in the projects directory and all child directories would have access to it, but that didn’t work. So I looked on the web and there was stuff about classes and import and … but nothing I recgonised as an answer.

So I would like to put a file.pde somewhere and then have multipe projects make use of that file like C allows you to have an include ./file.h


Annoyingly, this is the second time I have written this post, I know I did it because I got a gold star for including a link, but the gold star has disappeared from my history and the original post has disappeared.

Side note: you can go here to view all of your posts: