On Saturday, November 22, 2003, at 12:41 PM, Richard Gaskin wrote:
...Thanks for the suggestion, but I already tried that : please correct me if I'm
wrong, but it looks like the split command only works for 1 dimensional
array. I mean : if the variable contains only 1 line of comma-separated items,
Remember that Rev's arrays are associative arrays. While it lets you use
multi-dimensional syntax, what's really happening is that the key to an
element is the string "<value>,<value>".
You can change your delimiters in the split, JB. (The second cannot be null, though.) Build your value to be split appropriately.
There is an enhancement request in bugzilla for nested arrays which can be easily used as multidimensional arrays. The nested array approach would allow you to build rows and replicate rows in a style like that you used with items in lines.
If you think the speed gets slower as the array gets bigger, you might want to experiment with the union command.
Dar Scott
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
