BASIC

Even though the Basic Interpreter has an “editor” built into it, we regularly get requests for the ability to edit Basic programs in Qedit. You can do such editing and XEQ the Qedit file within the Basic Interpreter, but your system manager must change the Basic interpreter for this to work. See the sections on installing the compiler interface in the chapter on installation for details.

A side benefit of changing the Basic interpreter to read Qedit files is that Xeq files can then have $include statements in them, allowing you to define subroutines and common blocks in separate X-5 files. However, you must remember that the Qedit line numbers are not the statement numbers of the Basic program. Each Basic statement in your Qedit file must still have a valid sequence number at the start of it.

BASIC