_AUTODISPLAY (function)

From QB64 Phoenix Edition 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.


Syntax

displayStatus%% = _AUTODISPLAY


Description

  • 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.


Availability

  • QB64 v1.2 and up
  • QB64-PE all versions


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage