Ivan Drucker has once again released a plugin for Applesoft on the Apple II computer. His new Magic Goto allows for labels to be used instead of line numbers. Accrding to his posting:
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).
Magic Goto is freely available from Ivan Drucker’s webpage at:
http://ivanx.com/magicgoto