home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
RiscOS
/
APP
/
DEVS
/
BASIC
/
CMNDBA.ZIP
/
CmndBASIC
/
ReadMe
< prev
Wrap
Text File
|
1997-02-14
|
1KB
|
41 lines
CommandBASIC 0.03 (14 Feb 1997) by Paul Clifford
================================================
This module allows BASIC statements to be executed from the command line, by
using two * commands:
*[ tokenises and adds the statement to memory
*] adds a final line (if provided) and executes the statements in memory
Individual statements can be entered by using *], eg:
*] SYS "OS_SerialOp",5,17
*] INPUT a$:OSCLI"Set Input$String "+a$
Alternatively, programs can be built up using *[ and *], eg:
*[ MODE 15
*[ FOR colour% = 0 TO 63
*[ COLOUR colour%
*[ PRINT ":";colour%;
*] NEXT
Each statement is tokenised and then added to a chunk of RMA, which is
increased as needed, 4K at a time. Once the statement(s) have been executed
using *], the memory is released again.
If you want to place CommandBASIC in a boot sequence, make sure it is loaded
after anything that changes the address of the BASIC module, such as an
RMFaster command or a soft-loaded copy of the module. CommandBASIC finds the
address of BASIC's tokenising routine when it initialises, and if this
changes afterwards it will not work correctly.
Contacting me
-------------
E-mail: paul@plasma.demon.co.uk
Snailmail:
3 St. Anthony's Avenue,
Woodford Green,
Essex,
IG8 7EP
CommandBASIC is freeware, and may be distributed and used freely so long as
the module and this documentation are provided, unaltered.