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

From Amiga Coding
Jump to: navigation, search
(Created page with " Within an IF statement apparently not evaluated all the & (AND), and only the last run ----")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
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==
 +
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 --[[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)