Bug #714
open
Leaving the 2nd parameter off of locate fails now.
Added by Brian Flanagan over 3 years ago.
Updated over 3 years ago.
Description
This used to work. It causes an Internal error now.
Example:
Locate 2,2
Print "Test"
Locate 1, // This line fails
Print "Test 2"
- Estimated time set to 1:00 h
- Affected version set to 1.0.0 (B7)
- Status changed from New to Resolved
- Target version set to Beta 7
- Status changed from Resolved to Feedback
- Priority changed from High to Normal
- Target version changed from Beta 7 to 1.0.0 (B7)
Re-tested (4/14/2021). Partially fixed.
Now works unless there is a // comment at the end of the line
I suspect that the / is being parsed as a part of an expression a locate parameter.
If two consecutive // are found, however, it should recognize this as a comment.
Locate 4,4 // This fails (because of the comment)
Locate 4, // This fails (because of the comment)
NOTE: This is probably a problem in the transpiler for any command that ends with a numeric parameter.
A side note, just FYI: The ' comments work fine:
Locate 4,4 ' This works
Locate 1, ' So does this
Also available in: Atom
PDF