Function write()

← Back to Module standardio



Module standardio → write()

Description

Print value to standard output. This is similar to C++'s std::cout function

write(value)


Parameters


Return Value


Usage Example

a = 23
b = "Hello"
c = true
d = [1, 2, 3]
e = {id: "A23", name: "Clara"}
 
write(a)   ' Output: 23
write(b)   ' Output: Hello
write(c)   ' Output: true
write(d)   ' Output: array@0x02    ' Note: 0x02 is the address of array d
write(e)   ' Output: object@0x03   ' Note: 0x03 is the address of object e