string :writeln ( mixed $… )
In CGI mode, invoking this function for the first time will trigger printing HTTP headers.
Takes any number of arguments and prints them on stdio, in a left-to-right order, followed by a newline. Arrays and dictionaries are printed the same way as if they were converted to a string - array(size)
or dict(size)
. Contrary to string-casting, literal NIL values will be printed as {NIL}
.
Value returned is always an empty string. This allows to chain :writeln
calls.
Newline encoding is platform-dependent.
:writeln s'Hello World!' :writeln s'Current time is ' :dt-str
wikipage modified on 2014/0601/2317