Operators

Previous  Next

 

+, -, *, /, ^, =, <, >, <=, >=, <>

 


 

Operators to act in calculations, comparisons and logical operations.

 

Example:

 

DIM i AS INTEGER

i = 1

IF i <> 2 THEN

  PRINT "Hello"

ELSE

  PRINT i * 12,

ENDIF

 

IF i > 1 AND i < 10 THEN

  PRINT "Pretty!"

ENDIF