1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
2 Console.Echo
boxgaming edited this page 2023-09-25 13:40:27 -05:00

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