Run vs Chain vs Load
In the older versions of Superbase, you could only have one program file in memory at a time, so
many people adopted a coding style of either trying to stick the entire
program into one single SBP file, or they tried to break it up into
multiple files and use the LOAD or CHAIN or RUN commands to handle the
transfer.
In Superbase version 2 and above, support was added for multiple program files in memory (no limit)
so you could put a bunch of helper routines into memory, and then simply
call them from the main program. This is the current suggested style of
coding a Superbase application. Generally people break their functions up
along the lines of the application, and put each set of related functions
into it's own procedure library file.
More:
Using RUN to transfer
to another program
Using CHAIN to transfer
to another program
|