Write Data into Storage Channel

okv, num = mem.write(channel, txt)

Writes to a particular channel.

Parameter Type Description
channel integer Channel number, 1, 2, etc
txt string Data to write
Returns Type Description
okv integer Ok value
num integer Number bytes written
okv Value Description
0 Fail
1 Success
-1 Partial success