Difference between revisions of "AMOS:Bug Not AND ´&´ on ´If´ instrucctions"
Line 2: | Line 2: | ||
Within an IF statement apparently not evaluated all the & (AND), and only the last run | Within an IF statement apparently not evaluated all the & (AND), and only the last run | ||
− | Example | + | ==Example== |
− | |||
A$=A$+"If R0>5 & R0<9 Jump B;" | A$=A$+"If R0>5 & R0<9 Jump B;" | ||
In this statement, if R0=20 Jump to the "B" was executed and should not make the jump | In this statement, if R0=20 Jump to the "B" was executed and should not make the jump | ||
---- | ---- | ||
+ | |||
+ | ==Tested with== | ||
+ | * Currently untested | ||
+ | |||
+ | |||
+ | ==Credits== | ||
+ | * bug discovered by luisCoCo on the AMOS Factory on 5 July 2016 |
Revision as of 04:56, 6 July 2016
Within an IF statement apparently not evaluated all the & (AND), and only the last run
Example
A$=A$+"If R0>5 & R0<9 Jump B;"
In this statement, if R0=20 Jump to the "B" was executed and should not make the jump
Tested with
- Currently untested
Credits
- bug discovered by luisCoCo on the AMOS Factory on 5 July 2016