Project

General

Profile

Actions

Bug #879

open

Gosub / Goto sometimes fails when numbered label referenced is the result of a calaulation starting with a number

Added by Brian Flanagan about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
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
Actions #1

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Resolved

Fixed!

Actions

Also available in: Atom PDF