Repository navigation
BASIC Window
WacKEDmaN edited this page Nov 16, 2026
·
3 revisions
Tools → BASIC (next to the assembler) edits Locomotive BASIC programs as text.
From the machine lists the BASIC program in the machine's memory into the editor. BASIC must be at its Ready prompt.
- This works for a program that was typed, and for a program that was LOADed from tape or disc (for example
TOOLKIT.BASontoolkit.cdt). - Real numbers show as BASIC's own LIST shows them (
6.4,0.3,1.23456789E+09). A number that needs a 10th digit keeps it, so To the machine puts back the same bytes. - The In memory tab shows the program as BASIC holds it.
- Into the machine tokenizes the editor's text and puts it into memory at once, as if it had been typed. The old program goes.
-
Into the machine and RUN also types
RUN. - The tokenizer gives the same bytes as Locomotive BASIC itself. A line that is not a numbered line gives an error with its line.
- A program can go up to HIMEM (&A67B on a machine with a disc drive).
- Line numbers: the lines are sorted by number. A later line with the same number replaces the earlier one, as at the prompt.
- New, Open..., Save...: BASIC programs as text files.
-
Open... also opens the files BASIC saves: tokenized, with or without an AMSDOS header, also protected programs (
SAVE"name",P). They open as their listing; Save... writes text. - Drag a
.basfile onto the window to open it.
Ctrl+F opens the find bar, Ctrl+H the replace box too. Enter or F3 finds the next match, Shift+F3 the match before. Replace all changes every match; Undo the replace gives back the text as it was before the last replace.
- File → Open → BASIC program (text)... also opens one.
The window works with BASIC 1.0 (the 464) and BASIC 1.1 (664, 6128, Plus). It finds which one is in the machine.
Start
The machine
Media
Expansions
Tools
Automation
Help