Format
integer = ZMODE
Description
This command returns a code which indicates whether a color or
monochrome card is active in the system. ZMODE returns a value of 1 when a
color card is detected, and a value of 0 for monochrome.
Example
A = ZMODE
IF A = 0 THEN
PRINT "This program requires a Color Card to Run"
END
ENDIF
The above code fragment will check for a color card; if not found, the
program will terminate with an appropriate message. Otherwise, the program
will continue.
Comments
This statement is an extension over BASICA/GWBASIC.
|