_AUTODISPLAY (function)

From QB64 Wiki
Jump to navigation Jump to search

The _AUTODISPLAY function returns the current display mode as true (-1) if automatic or false (0) if disabled using _DISPLAY.


displayStatus%% = _AUTODISPLAY


  • The function returns true (-1) if _AUTODISPLAY is enabled. This is the default state and indicates that every screen change (text or graphics) is displayed immediately to the user.
  • If _DISPLAY is used, then _AUTODISPLAY returns 0, to indicate that screen changes (text or graphics) are only displayed per request, by calling _DISPLAY again to refresh the screen.


  • Build 20170924/69 and up.

See also

Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page