forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
_ECHO
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
The _ECHO statement allows outputting text to a $CONSOLE window without having to alternate between _DEST pages.
_ECHO {"text to output" | textVariable$}
- _ECHO is a shorthand to saving current _DEST, switching to _DEST _CONSOLE, PRINTing, then switching back to the previous _DEST.
- To output numbers, use the STR$ function.
- Version 1.3 and up.
$CONSOLE
PRINT "this will show in the main window"
_ECHO "this will show in the console"