NextScreenMode()
Syntax
Result = NextScreenMode()Description
This function should be called after ExamineScreenModes(). It will go step-by-step into the screen modes list. The current screen mode information can be retieved with the following functions: ScreenModeWidth(), ScreenModeHeight(), ScreenModeDepth() and ScreenModeRefreshRate().
Parameters
None.
Return value
Nonzero if there is another screenmode to be listed, zero otherwise.
Example
InitSprite() If ExamineScreenModes() While NextScreenMode() Debug Str(ScreenModeWidth())+"x"+Str(ScreenModeHeight())+"x"+Str(ScreenModeDepth())+"@"+Str(ScreenModeRefreshRate())+"Hz" Wend EndIf
See Also
ExamineScreenModes(), ScreenModeWidth(), ScreenModeHeight(), ScreenModeDepth(), ScreenModeRefreshRate()
Supported OS
All