_ECHO - QB64Official/qb64 GitHub Wiki
The _ECHO statement allows outputting text to a $CONSOLE window without having to alternate between _DEST pages.
Syntax
_ECHO {"text to output" | textVariable$}
Description
- _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.
Availability
- Version 1.3 and up.
Example(s)
$CONSOLE
PRINT "this will show in the main window"
_ECHO "this will show in the console"