Bug #879
Gosub / Goto sometimes fails when numbered label referenced is the result of a calaulation starting with a number
Start date:
12/13/2021
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Related to bug #399 (which has been resolved).
For example:
X=10 Gosub 10*X Print "no error" End 100 Print "test sub" Return
The above code fails to transpile with t label not defined at line 2.
If, however, I start the equation with X, it works:
X=10 Gosub X*10 Print "no error" End 100 Print "test sub" Return