[Gambas-bugtracker] Bug #2483: Allow On Gosub and On Goto to use pointer/function array as target

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Feb 20 14:57:34 CET 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2483&from=L21haW4-

Comment #3 by Brian G:

I guess, I mis-stated what I meant, when I said function, I was thinking label, the same as goto.

Would it be possible to have an array of labels that goto and gosub used.

Real gambas functions would invoke too much overhead.

Instead of having to type on goto a,b,c,d and then have statement that choose statements
The array content could be used to vector jumps thru on goto/on gosub to labels?




More information about the Bugtracker mailing list