Difference between revisions of "AMOS:Bug Not AND ´&´ on ´If´ instrucctions"

From Amiga Coding
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
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==
 
==Tested with==
Line 13: Line 12:
  
 
==Credits==
 
==Credits==
* bug discovered by luisCoCo on the AMOS Factory on 5 July 2016
+
* bug discovered by luisCoCo on the AMOS Factory --[[User:LuisCoCo|LuisCoCo]] ([[User talk:LuisCoCo|talk]]) 04:57, 6 July 2016 (CEST)

Latest revision as of 04:57, 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 --LuisCoCo (talk) 04:57, 6 July 2016 (CEST)