1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 06:00:23 +00:00
QB64-PE/internal/help/_SCREENEXISTS__111111111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

35 lines
859 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:10:27}}
{{DISPLAYTITLE:_SCREENEXISTS}}
The [[_SCREENEXISTS]] function returns true (-1) once a screen has been created.
{{PageSyntax}}
: {{Parameter|screenReady%%}} = [[_SCREENEXISTS]]
{{PageDescription}}
* Function returns true (-1) once a program screen is available to use or change.
* Can be used to avoid program errors because a screen was not ready for input or alterations.
** Use before [[_TITLE]], [[_SCREENMOVE]] and other functions that require the output window to have been created.
{{PageExamples}}
''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}}