62
edits
No edit summary |
|||
Line 16: | Line 16: | ||
This should now be stored in memory, and displayed at the top of the window. To execute a program, enter the command '''RUN''' . To save a program to disk, enter '''SAVE "filename"''' . To retrieve a saved program, enter '''LOAD "filename"''' . The command '''NEW''' will erase a program from memory. Individual lines can be erased by entering their line number alone ( to erase line 20, simply enter '''20''' ). Entering '''QUIT''' will exit SpecBAS. | This should now be stored in memory, and displayed at the top of the window. To execute a program, enter the command '''RUN''' . To save a program to disk, enter '''SAVE "filename"''' . To retrieve a saved program, enter '''LOAD "filename"''' . The command '''NEW''' will erase a program from memory. Individual lines can be erased by entering their line number alone ( to erase line 20, simply enter '''20''' ). Entering '''QUIT''' will exit SpecBAS. | ||
==Editor controls== | ==Editor key controls== | ||
The editor window can be controlled, intuitively, via mouse control, and/or via the following key commands: | |||
ctrl + cursor up = select previous line | ctrl + cursor up = select previous line | ||
ctrl + cursor down = select next line | ctrl + cursor down = select next line | ||
tab = edit selected line | |||
escape = terminate, or 'break into' program | escape = terminate, or 'break into' program | ||
return = toggle editor window on/off | |||
shift + cursor up = recall previous command | |||
shift + cursor down = revert the above | |||
BASIC programs can also be loaded into specbas as ZXASCII text files from your editor of choice, detailed in [[File handling in SpecBAS]] | BASIC programs can also be loaded into specbas as ZXASCII text files from your editor of choice, detailed in [[File handling in SpecBAS]] | ||
edits