# EDIT

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
EDIT [file$]

Description:
Invoke the full screen editor.
For example: EDIT "filename"
Note that double quote marks must be used around the file name.
If the file's extension is not specified MMBasic will automatically add the extension ".BAS".
If the file does not exist it will be created when you save and exit the editor.
Non program files can be edited by specifying an extension other than ".BAS".
You can also use EDIT without a file name and in that case the last program that was edited or RUN will be edited.
After editing the file it can be run using the RUN command without specifying a file name or you could use the F2 function key within the editor to save and run the program.

Systems such as the MM170 do not have a file system so EDIT is run withoiut appending a filename.

Last edited: 29 September, 2020