On 01/23/2014 07:43 PM, Peter P. wrote:
Hi,
this might be totally simple, but I am wondering what is the most elegant way of creating a list out of individual messages
12 23 34 45
meaning a list which holds four items, and which is always created at the number '12', and sent out at the nu,ner '45', yielding:
list 12 23 34 45
so some kind of parallelization depending on a header value (12).
i found [list prepend] to be the easiest accumulator to read (though performance-wise it's less optimal once it comes to **large** lists)
adding the logic to convert your starting and stopping delimiters to reset/output the list, is left as an exercise for the user.
fgmadrs IOhannes