Project

General

Profile

Actions

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.

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
Actions #1

Updated by Brian Flanagan about 3 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

Actions #2

Updated by Brian Flanagan about 3 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.

Actions #3

Updated by Brian Flanagan about 3 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.)
Actions #4

Updated by Brian Flanagan about 3 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
Actions #5

Updated by Brian Flanagan about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF