david-pfx / PuzzleScriptNext

A direct successor to PuzzleScript, building on the work of PuzzleScript Plus, Pattern:Script and others.
http://www.puzzlescriptnext.polyomino.com
MIT License
12 stars 5 forks source link

Nested gosub #21

Open david-pfx opened 6 months ago

david-pfx commented 6 months ago

vexorian: Just one more thing -- don't try to put a gosub inside a startloop endloop. Right now it won't work but the compiler doesn't tell you. In a future release it will either work, or trigger an error. But it seems to work?

david-pfx commented 3 months ago

Are you sure? I've just tested it, and it looks like the GOSUB works but the STARTLOOP does not. Getting the test program right is a challenge.