writeln()
Print value
& new line (\n
) to standard output.
writeln(value = "")
value
(any, optional) — A value to be printed. If value
is not provided, then only new line is printed. The default value is ""
boolean
— Always returns true
a = 23
b = "Hello"
c = true
d = [1, 2, 3]
e = {id: "A23", name: "Clara"}
writeln(a) ' Output: 23\n
writeln(b) ' Output: Hello\n
writeln(c) ' Output: true\n
writeln(d) ' Output: array@0x02\n ' Note: 0x02 is the address of array d
writeln(e) ' Output: object@0x03\n ' Note: 0x03 is the address of object e