Followers
0
Following
0
Joined
Last Online
-
mpeg2tom
I am getting a stream of messages of individual ASCII character values from a comport object.
I would like to combine the messages to form a line of text, perhaps using using the select object to look for a carriage return.
How can I do this easily? (I can imagine a complex line buffer using tabwrite/tabread and an array, but there must be an easier way).
Thanks!
-
mpeg2tom
Ah yes, I see now you can use
to accumulate messages going into its left input by using a [t l] to feedback the output of into its right input, and clear the accumulation with a [bang>
This is well documented in "example 1: simple rhythmic sequencer".
Thanks!