Comparison in Blox Basic is similar to other programming languages.  It is recommended that expressions should be enclosed in parentheses so it is not ambiguous what is being compared with what.


Keyword Syntax:



Equivalent to, or the value the element on each side is exactly the same.

IF ( var1 = var2 ) THEN ...


Values on each side of the symbol are Not equivalent to, or are not the exactly the same value.  

Both symbol characters are valid to use.


Greater than symbol.


Less than symbol.


Less than or equal to.


Greater than or equal to



VARIABLES: i TYPE: Integer, var1 TYPE: String
WHILE ( i != 10 )
  var1 = "Message for you, sir."
  i = ( i + 1 )






See Also:



Edit Time: 5/10/2017 6:49:02 PM

Topic ID#: 213


Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software