Speeding up array initialization

jbv jbv.silences at Club-Internet.fr
Sat Nov 22 16:49:51 EST 2003

> You can change your delimiters in the split, JB.  (The second cannot be
> null, though.)  Build your value to be split appropriately.

Well, thanks for the advice, but I've already tried the split cmd in many
ways, but with no success...

Here's an example :
I have a variable S made of 2 lines of 5 items each :
    line 1 :    a,b,c,d,e
    line 2 :    f,g,h,i,j

how do I use the split cmd so that I get a 2 dimensions array S in which :
    S[1,1] = a
    S[1,2] = b
    S[2,1] = f
    S[2,2] = g
and so on...


More information about the Use-livecode mailing list