[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
Sat Mar 12 17:19:35 CET 2022
http://gambaswiki.org/bugtracker/edit?object=BUG.2483&from=L21haW4-
Comment #7 by Brian G:
No mylabel is not related to the request. It was just something I noticed when trying to see how gambas handles labels.
If I define a program
mylabel:
print "hello world"
print mylabel ' this actually works it prints 1
print typeof(mylabel) ' this actually works it prints integer type
Just something I noticed.
The request is to allow an array of labels to be used with on gosub and on goto
but alternately perhaps allowing gosub and goto to be used with a variable containing a label address
See my previous comment for the reason this would be useful.
More information about the Bugtracker
mailing list