NextScreenMode()

语法

Result = NextScreenMode()
概要
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().

参数

无.

返回值

Nonzero if there is another screenmode to be listed, zero otherwise.

示例

  InitSprite()

  If ExamineScreenModes()
    While NextScreenMode()
      Debug Str(ScreenModeWidth())+"x"+Str(ScreenModeHeight())+"x"+Str(ScreenModeDepth())+"@"+Str(ScreenModeRefreshRate())+"Hz"
    Wend
  EndIf

参阅

ExamineScreenModes(), ScreenModeWidth(), ScreenModeHeight(), ScreenModeDepth(), ScreenModeRefreshRate()

已支持操作系统

所有

<- IsScreenActive() - Screen Index - OpenScreen() ->