AUTODISPLAY (function): Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
m (Removed protection from "AUTODISPLAY (function)")
(No difference)

Revision as of 21:19, 1 June 2022

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 1.2 and up (QB64 Team)
  • QBPE 0.5 and up (QB64 Phoenix Edition)


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link