DEFINE ... #UNDEF Preprocessor Directive Example
The following program creates a compile-time constant named MAXITEMS
. This constant is used in a FOR ... NEXT loop to display the numbers 1 through 10.
#DEFINE MAXITEMS 10
CLEAR
FOR gnCount = 1 TO MAXITEMS
? gnCount
NEXT