McIDAS User's Guide
Version 2015.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Chapter 4

McBASI Interpreter

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.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]