This chapter contains an introduction to McBASI; it consists of:
The name McBASI was first coined in 1985 on McIDAS-MVS to describe a line oriented editor and online BASIC language interpreter within the mainframe McIDAS environment. In McIDAS-X, only the interpreter (the RUN command) has survived.
McBASI programs are presented as ASCII text files created by an editor that stores text as ASCII text with a new line character at the end of each line. The line of text for McBASI programs can not be longer than 80 characters. These files are stored in the $HOME/mcidas/data directory, or a REDIRECT or MCPATH directory with the extension .MCB. Commands may be in uppercase or lowercase; line numbers are only needed on program lines referenced as targets of GOTO or GOSUB statements.