4 ms·
I agree, which is why I have implemented some useful editing features that might make it easier to enter your programs: - Syntax highlighting, to make code eas
by James-Livesey 5y ago
I agree, which is why I have implemented some useful editing features that might make it easier to enter your programs:
- Syntax highlighting, to make code easier to read
- Typing `edit` followed by the line number, and then pressing Enter, will bring up the line you wish to edit. Press Enter to then save that line
- Use the Up/Down arrow keys to go to previous lines and edit them. Moving off the line will save it. This can also be used after running your program since it'll skip past the output and find the previously-entered program line. Using arrow keys will also scroll the screen up/down, too
- Typing `list` will bring up the full program, and you can specify a range of lines to list, such as `list 20-100`
- The `renum` command will renumber all program lines as multiples of 10, and additionally will modify all references to lines in `goto` and `gosub` commands
It is also possible to use the `import` and `export` commands (or Ctrl+O and Ctrl+S) to save/load your program to a .atto file. That way, you can edit your code in your favourite text editor!