1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/help/_SCREENEXISTS.txt
2016-03-18 08:36:04 -03:00

29 lines
686 B
Plaintext

{{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}}