print

Outputs a message. Alias for console.log.

Note

This function is specific to Calcish. In browsers, print is a built-in function that prints the current page on the physical printer. In Node.js, there’s no built-in print function.

Syntax

print(...values)

Parameters

Examples

print("Hello, world")
Hello, world

let n = 3.1415
print("The value of n is %2.1f", n)
The value of n is 3.1

print('%')
print('%%')
print('%d%', 10)
print('%d%%', 10)
%
%%
10%
10%

See also