Bug #849
closed
Restore Label$ form of restore is using a case-sensitive compare. It is expecting all lower case. (Should be an easy fix.)
Added by Brian Flanagan about 3 years ago.
Updated about 3 years ago.
Description
Instead, it returns an Internal error.
Example:
Restore "StartOfData"
StartOfData:
Data 1,2,3,4,5
Result on console:
Cannot read property 'call' of undefined
raoz.js:1331 TypeError: Cannot read property 'call' of undefined
at AOZ.runBlocks (raoz.js:1008)
at updateOnce (raoz.js:578)
at AOZ.doUpdate (raoz.js:548)
at raoz.js:562
Found the problem. The comparison on the label is case sensitive, but it is not supposed to be.
If I change the label to "startofdata", it works.
- Subject changed from Restore Label$ doesn't work. to Restore Label$ form of restore is using a case-sensitive compare. It is expecting all lower case. (Should be an easy fix.)
- Status changed from New to Resolved
Re-tested in 21 Oct 2021 version.
It's working now in both manifests.
Thanks to whoever fixed it. ;-)
Verified with previous as well as new test code:
For x=1 to 5
Read Y : Print Y,
Next x
Restore "startofdata"
Print : Print
For x=1 To 5
Read Y : Print Y,
Next x
End
StartOfData:
Data 1,2,3,4,5
- Status changed from Resolved to Closed
Also available in: Atom
PDF