Project

General

Profile

Bug #849

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 over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
Start date:
10/11/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Instead, it returns an Internal error.
Example:

Restore "StartOfData"

StartOfData:
Data 1,2,3,4,5
#1

Updated by Brian Flanagan over 2 years ago

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

#2

Updated by Brian Flanagan over 2 years ago

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.

#3

Updated by Brian Flanagan over 2 years ago

  • 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.)
#4

Updated by Brian Flanagan over 2 years ago

  • 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
#5

Updated by Brian Flanagan over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF