Compiling multiple PBASIC files into single program
V-man
Posts: 10
Does anyone know if PBASIC supports the concept of "Includes" for multi-sourcefile programs? If so how or please point me to something to read. Thanks!
Comments
V-man, welcome to the Forum.
If you're thinking of "includes" as in C/C++, then the answer is no.
However, some versions of the Basic Stamp (BS2e, BS2sx, BS2p, BS2pe, BS2px) support multiple memory "slots" in which code can be placed. Each one of those "slots" references a separate file and those are loaded ("included" if you will) when the main slot is loaded.
But since I only have the BS2 I'll have to do as you say and just load them all into a single file. Hey, thanks for responding. I appreciate it!!!