Code Files
Previous Top Next

Basic4ppc supports separating the code into several files.
A project must include one main sbp file. The other files are regular text files.
Breaking the code into several files can be handy when building large applications, or when there is a need to write different code for the desktop and the device.
Note that small differences (between desktop and device) can be handled using the cPPC constant.
To add a code file to the application, choose Tools - Components...
Now add the code files to the desktop, device or both.