[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 Sep 30 22:03:52 CEST 2023
http://gambaswiki.org/bugtracker/edit?object=BUG.2483&from=L21haW4-
Comment #9 by Benoît MINISINI:
The computed Goto and GoSub are implemented in https://gitlab.com/gambas/gambas/-/commit/c600f69be3798390e742d5ad4f24e4e8f5d44a7b.
Goto (or GoSub) now accept an expression instead of a label. This expression must be an integer that represents a label.
The label now can be used in an expression too, it is then replaced by its associated integer index.
The interpreter (hopefully) verifies that you are doing a Goto or a GoSub with a valid integer.
Benoît MINISINI changed the state of the bug to: Fixed.
More information about the Bugtracker
mailing list