ECHO: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:


{{PageAvailability}}
{{PageAvailability}}
* '''QB64 1.3 and up''' (QB64 Team)
* '''QB64 v1.3 and up'''
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
* '''QB64-PE all versions'''




{{PageExamples}}
{{PageExamples}}
{{CodeStart}}
{{CodeStart}}
{{Cl|$CONSOLE}}
{{Cm|$CONSOLE}}
{{Cl|PRINT}} "this will show in the main window"
{{Cl|PRINT}} {{Text|<nowiki>"this will show in the main window"</nowiki>|#FFB100}}
{{Cl|_ECHO}} "this will show in the console"
{{Cl|_ECHO}} {{Text|<nowiki>"this will show in the console"</nowiki>|#FFB100}}
{{CodeEnd}}
{{CodeEnd}}



Latest revision as of 22:58, 26 March 2023

The _ECHO statement allows outputting text to a $CONSOLE window without having to alternate between _DEST pages.


Syntax

_ECHO {"text to output" | textVariable$}


Description


Availability

  • QB64 v1.3 and up
  • QB64-PE all versions


Examples

$CONSOLE
PRINT "this will show in the main window"
_ECHO "this will show in the console"


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link