Skip to content

Console.Echo

boxgaming edited this page Sep 25, 2023 · 2 revisions

Prints a message to the console.
When the program is run from the IDE the message will show in the Console output tab. Otherwise, the message will be printed to the browser's console output.

Syntax

Console.Echo msg$

Parameters

  • The msg$ parameter contains the text which will be written to the console.

Examples

Example1: Print a message to the console

Import Console From "lib/web/console.bas"

Print "This message will be printed on the screen."
Console.Echo "This message will be printed in the console."

See Also

Console.Log

Clone this wiki locally