readListFlatLine

HC Communication Receivers readListFlatLine
readListFlat readListFlatRaw

readListFlatLine


reads a line from the read stream and output its contents as one big list, but ignoring any whitespace. This is mostly useful for searching in files.

Example:

openRead "box.lg
setReader "box.lg  while [not eof?][show readListFlatLine]

output:

[to box]
[repeat 4]
[fd 100 rt 90]
[]
[rt 30]
[end]

Afterwards dont forget to close the file:

setReader []
close "box.lg

Example:

Reference:

readListFlat readListFlatRaw