Quirrel4.41.0

errorln

Global, available without an import
errorln(...)

Writes its arguments to the error stream, followed by a newline.

Parameters

...anyvalues to write; each is converted the same way print converts its arguments repeats

Return value

null.

Notes

Same stream as error, and the same one-space join between several arguments; the only difference from error is the trailing newline, matching how println differs from print.

Example

examples/globals/errorln.nut
errorln("stderr:", "first", "line")   // arguments join with one space, like println
errorln("stderr: second line")
println("stdout: unaffected")
Output:
stderr: first line
stderr: second line
stdout: unaffected

See also

errorWrites its arguments to the error stream.
printlnWrites its arguments to the output stream, followed by a newline.
globalsmodule index