
print - output on screen

Calling sequence:
print([ Unquoted, ]  expr ...)

Parameter:
Unquoted   --  option
expr       --  expression

Overloading:

all

Summary:

print is used for output on screen. With the statement print(expr), the
argument expr is evaluated and the result is displayed on the monitor. More
than one argument can be given. These are then evaluated in sequence and
the results are displayed. The individual outputs are seperated by a comma
and at the end of the output a new line is started.

If the option Unquoted is given as the first argument then character strings
are output without their enclosing inverted commas.

print returns a datum of the type DOM_NULL     as its return value (the

"empty\ datum). print is a kernel function.

>>  print("Hello", "World" . " !");

      "Hello", "World !"

>>  print(Unquoted, "Hello", "World" . " !");

      Hello, World !

>>  d := 5: print("3 times d: ", d*3);

      "3 times d: ", 15

>>  print((a := 3), (b := a));

      3, 3

See also:  fprint

