Hi Daniel,
?
Please don't worry about this any more - the solution I mentioned two posts up the thread, where I get a string from the table and then convert to an array is working fine for me.
?
Just as background though, each of my train describer berths has four display digits, with different CBUS event numbers for each digit. So, suppose I want to display "A" in the second position of a berth. I do a table lookup to find "A" in the first column and then I need the event number for the second digit. In the original implementation, I would access the value in column Digit2 where the row is "A". Then similarly for the other digits, using columns Digit1, etc. It just somehow felt cleaner to lookup "A" and get a four element array of digits, into which I could just index to get the second value. It felt like it would lead to neater loops and so on.
?
Anyway, as I said, what I have now is perfectly good enough!
?
As always, thanks to you and Dave for helping.
?
Nick