Rules

From Bendyroad


See also: Rule syntax

Testing for a condition

Equals

   if( a == 10 ) { q = 1 ; }

Not equal

   if( a != 10 ) { q = 1 ; }

Greater than

   if( a > 10 ) { q = 1 ; }

Greater than or equal

   if( a >= 10 ) { q = 1 ; }

Less than

   if( a < 10 ) { q = 1 ; }

Less than or equal

   if( a <= 10 ) { q = 1 ; }