[Contents] · [Home] · [Mail]

SALIERI Language - write

Type:
write: object x object x ... -> ()

Call syntax:
write(obj_1, obj_2, ...)

Description:
write outputs the value of its arguments on the screen; the output arguments are not separated by spaces or linebreaks. As opposed to writeStr, write always terminates its output with a linebreak character; consequently the next output or prompt will be displayed on a new line.

In string arguments, control characters \n, \", and \\ can be used to produce linebreak, ", and \ characters in the output.

Example:
> a := 12; write(a, 3); write("abc")
123abc
> write(a, " " , 3)
12 3
> write("hal\n\\lo"
hal
\lo

See also: writeStr.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.