BASE

Previous  Next

 

base = BASE() AS INTEGER

 


 

Returns the the current OPTION BASE setting.  Note, may not be used in arithmetic's.  Can only be used in simple assignments and comparisons.

 

Example:

 

OPTION BASE 1

 

IF BASE = 1 THEN

  PRINT "Base is 1"

ELSE

  PRINT "Base is 0"

ENDIF