Words such as PROGRAM and SAVE are meant for use with tape. They should not be used with disc storage.Can I ask, please: How can I save?
Typing "SAVE" as per page 87 of "Forth on the BBC Microcomputer" lists the 'screen' ending with an "OK?" prompt, but typing "Y" generates "SAVE ? Can't open or extend file".
To prepare a disc for use with FORTH, start with a blank formatted 80 track disc then use the CREATE-SCREENS command.
*FORM80
*FORTH
CREATE-SCREENS
Once you have a prepared disc you can edit any screens you like. Just LIST the screen you want to edit then use the editor commands. When you are finished editing screens use the FLUSH command to make sure any changes are written back to the disc.
9 LIST
EDITOR
0 P : STARS BEGIN 42 EMIT 2 SPACES AGAIN ;
FLUSH
9 LOAD
In the book, this is covered in section 8.4 'Using the Editor with disks' starting on page 93.
Statistics: Posted by dv8 — Sat Mar 29, 2025 3:24 pm