I want to make messages out of a stream of lists, adding "add" and a timestamp (with [timer]). I am experimenting with recording serial data to text files with [qlist].
[list myserialinput-1 1 0.7 1 0 1 0.5]
Should become this:
[add 21 myserialinput-1 1 0.7 1 0 1 0.5(
(And then go to [qlist])
How can I achieve this without having to specify the length of the list? I would like to not use a message with dollars sign variable for each element in the list, since then I can not throw in any list of any length in there.
I have messed around with list operations, variable messages, symbols etc. The space separator in the list is probably the reason why I can not get it right.
Help? It must be a simple way to do this.