Bug #24
closed
Restore to expression not implemented.
Added by Brian Flanagan almost 5 years ago.
Updated almost 5 years ago.
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 +
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
**
Using 9.2.6, this fails:
Restore 3
Read Y
Print Y
Data 1
Data 2
Data 3
Data 4
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.3
- 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.
- Related to Bug #46: RESTORE causes internal error added
Also available in: Atom
PDF