CircuitGizmos

Electronic Products for Creative Minds

  • Home
  • Gizmo Store/Products
  • Documentation/Datasheets
  • Projects/Libraries
  • GizmoBlog
  • Services/Contact
    • Design
    • Contact Gizmo!
  • Your Gizmo Cart
    • Your Account
You are here: Home / GizmoBlog / MMBasic Language / Programming, and Debugging / EDIT

EDIT

EDIT [filename] | [ line-number ]

Invoke the full screen editor. This can be used to edit either the program currently loaded in memory or a file on either drive A: or B:. It can also be used to view and edit text data files.

If EDIT is used on its own it will edit the program memory. If ‘filename’ is supplied the file will be edited leaving the program memory untouched.

On entry the cursor will be automatically positioned at the last line edited or, if there was an error when running the program, the line that caused the error. If ‘line-number’ is specified on the command line the program in memory will be edited and cursor will be placed on the line specified.

The editing keys are:
Left/right arrows Moves the cursor within the line.
Up/Down arrows Moves the cursor up or down a line.
Page Up/Down Move up or down a page of the program.
Home/End Moves the cursor to the start or end of the line. A second Home/End will move to the start or end of the program.
Delete Delete the character over the cursor. This can be the line separator character and thus join two lines.
Backspace Delete the character before the cursor.
Insert Will switch between insert and overtype mode.
Escape Key Will close the editor without saving (confirms first).
Function Key 1 Will save the edited text and exit.
Function Key 2 Will save, exit and run the program.
Function Key 3 Will invoke the search function.
SHIFT F3 Will repeat the search using the text entered at F3.
Function Key 4 Will mark text for cut or copy (see below).
Function Key 5 Will paste text previously cut or copied.
CTRL-F Will insert a file into the program being edited.

When in the mark text mode (entered with F4) the editor will allow you to use the arrow keys to highlight text which can be deleted, cut to the clipboard or simply copied to the clipboard. The status line will change to indicate the new functions of the function keys.

While the full screen editor is running it will override the programmable function keys F1 to F5. When the editor exits all programmable functions will be restored.

The editor will work with lines wider than the screen but characters beyond the screen edge will not be visible. You can split such a line by inserting a new line character and the two lines
can be later rejoined by deleting the inserted new line character.

All the editing keys work with a VT100 terminal emulator so editing can also be accomplished over a USB or serial link. The editor has been tested with Tera Term and this is the recommended software. Note that Tera Term MUST be configured for an 80 column by 36 line display.

See also:
LOAD
NEW
RUN

SAVE

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

A Ton of Documentation

Open all | Close all

Projects made by Gizmo, Friends, and Members

open all | close all

Recent GizmoBlog Musings

  • Altair 8800 using a ColorMax!
  • Re-energizing the ColorMax, Pt. 3

Visit us!

  • Facebook

Electronic Products for Creative Minds

CircuitGizmos is your source for electronic products that help you create your embedded projects. Here at CircuitGizmos.com you will find a friendly store filled with creative products and all of the documentation that you need to use these gizmos.

We create devices that we believe make electronics fun, but we also know that our products are used for professional designs. For decades we have designed products for commercial, military, and medical industries. Our gizmos here are great for engineers and hobbyists alike.

Copyright © 2008+ CircuitGizmos, L.L.C. All rights reserved

Image already added

Recently Viewed Products

Copyright © 2025 · Generate Pro Theme on Genesis Framework · WordPress · Log in