CHECK DISPLAY MODE This command will check that the display mode you have specified is available on the current system.
Syntax
    Return Integer=CHECK DISPLAY MODE(Width, Height, Depth)
    Return Integer=CHECK DISPLAY MODE(Width, Height, Depth, VSyncOn, Multisampling Factor, Multimonitor Mode)
Parameters
    Width
Integer New screen width
    Height
Integer New screen height
    Depth
Integer New screen depth
    VSyncOn
Integer This value is an integer number such as 1.
    Multisampling Factor
Integer This value is an integer number such as 1.
    Multimonitor Mode
Integer This value is an integer number such as 1.
Returns
A one will be return, if you can use that display mode
Description
The parameters should use integer values.
Example Code
    cls

    set display mode 800,600,32

    wait 1000*8

    print "can we use the screen mode "+str$(check display mode(1024,768,32))

    do

    loop

    end
See also
DISPLAY Commands Menu Index