That my friend is C, or C++ operator usage. You need to use the <> operator.
I.e. IF (SCREEN WIDTH() <> 1024) AND (SCREEN HEIGHT() <> 768) AND SCREEN DEPTH() <> 32)
EXIT PROMPT "Sorry, but you graphics card does not support the resolution of 1024 X 768 X 32.", "Warning"
END
ENDIF
Or if you're actually testing against TRUE / FALSE conditions, use
IF NOT (SCREEN WIDTH() = 1024) AND NOT (SCREEN HEIGHT() = 768) AND NOT (SCREEN DEPTH() = 32)
EXIT PROMPT "Sorry, but you graphics card does not support the resolution of 1024 X 768 X 32.", "Warning"
END
ENDIF
Although the latter is not a very proper way of condition testing as it just complicates the code reading issue for other programmers. The former method should work though
MSI/AMD Athlon 1300, 256Mb, 60GbHD, SoundBlaster Live!, GeForce 4 MX440-64Mb, Win2K, DX9, DarkBASIC Pro(PUv4.1)