public static print(values... as Object, sep as String = " ", end as String = "\n", output as TextWriter = Application.out)
Prints one or more values to the given output stream.
Application.print("x", 42, sep=" = ")
import klyn.io
try writer = FilePath("values.txt").openWriter():
print("x", 42, sep=" = ", output=writer)| Parameter | Description |
|---|---|
values | Values to print. |
sep | Separator inserted between values (default: " "). |
end | Terminator appended after the last value (default: "\n"). |
output | Output stream (default: Application.out). |