_SCREENEXISTS - QB64 Wiki

_SCREENEXISTS

From QB64 Wiki

Jump to: navigation, search

The _SCREENEXISTS function returns a -1 value once a screen has been created.


Syntax:

screenready = _SCREENEXISTS


Description:

  • Function returns a true value once a program screen is available to use or change.
  • Avoids program errors or omissions because a screen was not ready for input or alterations.


Example: The loop waits until the screen exists to add the title.

SCREEN 12 DO: LOOP UNTIL _SCREENEXISTS _TITLE "My Title"


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version