HTBasic Help
×
Menu
Index

CSUB

Compiled SUBprograms.
 
 
 
Description:
CSUBs are compiled subprograms that are created with special tools. CSUBs are loaded with LOADSUB and deleted with DELSUB. A CSUB looks like a SUB statement and it is called with a CALL statement. A CSUB cannot be created or changed in BASIC and therefore any operation that checks for syntax cannot be used. However, operations that are not syntax checked (renumber, etc.) are allowed on a CSUB
 
The HTBasic Numeric Compiler is the primary tool for creating CSUBs. This compiler is designed so the casual HTBasic user can produce fast numerically intensive subprograms. The user writes one or more SUBs in BASIC which contain the calculation intensive code in his program. The SUB or SUBs are then compiled, creating CSUBs which execute many times faster than the original BASIC. No additional programming skill is necessary. Speed of execution of numerically intensive subprograms is the main goal of this compiler.
 
The CSUB Toolkits allows creation of CSUBs in C++. Creation of CSUBs with the CSUB Toolkit requires programming experience in C/C++.
 
See Also: