NextScreenMode()
Syntax
Result = NextScreenMode()Description
This command should be called after ExamineScreenModes(). It will go step by step into the screen modes list. The current screen mode informations can be retieved with the following functions: ScreenModeWidth(), ScreenModeHeight(), ScreenModeDepth() and ScreenModeRefreshRate(). If the 'Result' is 0, the screen mode listing is finished.
Example:InitSprite() If ExamineScreenModes() While NextScreenMode() Debug Str(ScreenModeWidth())+"x"+Str(ScreenModeHeight())+"x"+Str(ScreenModeDepth())+"@"+Str(ScreenModeRefreshRate())+"Hz" Wend EndIf
Supported OS
Windows, Linux, MacOS X