Skip to content

Print Statement

Print statement is used to print a value to the terminal. This is done using the print keyword. This statement cannot be used if disablePrint is set to true.

Syntax
print(expr);
Example
# prints 1
print(1);

# prints "Hello World"
print("Hello World");