1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_ECHO__1111.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

37 lines
853 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:08:01}}
{{DISPLAYTITLE:_ECHO}}
The [[_ECHO]] statement allows outputting text to a [[$CONSOLE]] window without having to alternate between [[_DEST]] pages.
{{PageSyntax}}
: [[_ECHO]] {''"text to output"'' | {{Parameter|textVariable$}}}
{{PageDescription}}
* [[_ECHO]] is a shorthand to saving current [[_DEST]], switching to [[_DEST]] [[_CONSOLE]], [[PRINT]]ing, then switching back to the previous [[_DEST]].
* To output numbers, use the [[STR$]] function.
{{PageAvailability}}
* '''QB64 1.3 and up''' (QB64 Team)
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
{{PageExamples}}
{{CodeStart}}
{{Cl|$CONSOLE}}
{{Cl|PRINT}} "this will show in the main window"
{{Cl|_ECHO}} "this will show in the console"
{{CodeEnd}}
{{PageSeeAlso}}
* [[_DEST]]
* [[$CONSOLE]], [[_CONSOLE]]
* [[STR$]]
{{PageNavigation}}