[Contents] · [Home] · [Mail]

SALIERI Language - write

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

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

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.

> a := 12; write(a, 3); write("abc")
> write(a, " " , 3)
12 3
> write("hal\n\\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.