Outputs a message. Alias for console.log.
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.
print(...values)
values variadic
The values to output.
If the first value is a string that contains format codes, it is used as a format string, and the remaining values are used as arguments for the format string. See console.log for the format string syntax.
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%