Project

General

Profile

Bug #24

Restore to expression not implemented.

Added by Brian Flanagan about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/18/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Example: Help_48, line 130,134 from AMOSPro_Examples:
Both lines are the same:

Restore Rnd(5)+1 ' Instruction not implemented error at the Rnd

I also tried a simpler expression with the same result:

Restore 2+1 ' Instruction not implemented at the +


Related issues

Related to AOZ Studio Beta - Bug #46: RESTORE causes internal errorClosed01/21/2020Francois Lionet

Actions
#1

Updated by Anonymous about 4 years ago

Brian Flanagan wrote:

Example: Help_48, line 130,134 from AMOSPro_Examples:
Both lines are the same:

Restore Rnd(5)+1 ' Instruction not implemented error at the Rnd

I also tried a simpler expression with the same result:

Restore 2+1 ' Instruction not implemented at the +

Using 9.2.6, this fails:

** Restore 3
Read Y
Print Y

Data 1
Data 2
Data 3
Data 4
**

#2

Updated by Anonymous about 4 years ago

Using 9.2.6, this fails:

Restore 3
Read Y
Print Y

Data 1
Data 2
Data 3
Data 4

#3

Updated by Francois Lionet about 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Lionet
  • Target version set to 0.9.3

Fixed.

#4

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed
  • Took the example from AMOS_Professional_Manual.pdf 05.04.13 page 98 : RESTORE

First example : with Label

Another example that works with both versions : with line numbers

Third example : with line numbers and using Rnd() :

  • source :
  • compile result with 0.9.2.6 : main.aoz:1:13: error: instruction not implemented
  • result with 0.9.3.1 : A random number between 1 and 5 : it works !
1 Restore Rnd(4)+4
2 Read Y
3 Print Y
4 Data 1
5 Data 2
6 Data 3
7 Data 4
8 Data 5

Ok, fine. I close.

#5

Updated by Baptiste Pillot about 4 years ago

  • Related to Bug #46: RESTORE causes internal error added

Also available in: Atom PDF