Share Tweet reddit Email

Magic Goto is now available, so you can program in Applesoft without ever having to think about line numbers, yielding better organized and much more readable code.

It lets you GOTO, GOSUB, or ONERR GOTO a label in a REM statement. For example, GOSUB “showMainMenu” will find the line containing REM “showMainMenu”.

Magic GOTO is self-contained in your Applesoft program and does not require any additional files to be loaded.

For those already familiar with Magic Gosub, this supersedes it, with support for GOTO and ONERR GOTO; better performance; and the ability to specify your label search either forwards or backwards, starting from the top, bottom, or current line (this allows you to reuse labels if you are programming in Structured Applesoft).

Source: A2Central

Link: Magic GOTO