mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-18 20:55:09 +00:00
29 lines
No EOL
686 B
Text
29 lines
No EOL
686 B
Text
{{DISPLAYTITLE:_SCREENEXISTS}}
|
|
The [[_SCREENEXISTS]] function returns a -1 value once a screen has been created.
|
|
|
|
|
|
{{PageSyntax}}
|
|
::: screenready = '''_SCREENEXISTS'''
|
|
|
|
|
|
{{PageDescription}}
|
|
* 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.
|
|
{{CodeStart}} '' ''
|
|
{{Cl|SCREEN}} 12
|
|
{{Cl|DO}}: {{Cl|LOOP}} {{Cl|UNTIL}} _{{Cl|SCREENEXISTS}}
|
|
{{Cl|_TITLE}} "My Title"
|
|
{{CodeEnd}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_FULLSCREEN]]
|
|
* [[_SCREENIMAGE]]
|
|
* [[$CONSOLE]]
|
|
* [[$RESIZE]]
|
|
|
|
|
|
{{PageNavigation}} |