This module allows BASIC statements to be executed from anywhere that a *command is accepted, such as the command line or an obey file.
For example:
*[ MODE 15
*[ FOR colour% = 0 TO 63
*[ COLOUR colour%
*[ PRINT ":";colour%;
*] NEXT
Or, a slightly more interesting use:
*set alias$binary ] SYS"OS_ConvertBinary4",%0,STRING$(33," "),33 TO b$:P.b$
*binary 128942
00000000000000011111011110101110
Full source code is provided. Click here to download CommandBASIC.
|
14 February 1997 |