Project

General

Profile

Actions

Bug #24

closed

Restore to expression not implemented.

Added by Brian Flanagan almost 5 years ago. Updated almost 5 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 1 (0 open1 closed)

Related to AOZ Studio V1 (TBD bugs clean/-> V2) - Bug #46: RESTORE causes internal errorClosedFrancois Lionet01/21/2020

Actions
Actions #1

Updated by Anonymous almost 5 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
**

Actions #2

Updated by Anonymous almost 5 years ago

Using 9.2.6, this fails:

Restore 3
Read Y
Print Y

Data 1
Data 2
Data 3
Data 4

Actions #3

Updated by Francois Lionet almost 5 years ago

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

Fixed.

Actions #4

Updated by Baptiste Pillot almost 5 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.

Actions #5

Updated by Baptiste Pillot almost 5 years ago

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

Also available in: Atom PDF