Crazy stuff
    Tower Ty 
    tytower at hotmail.com.au
       
    Sun Apr 27 05:58:12 PDT 2008
    
    
  
I suppose I'm getting tired but this array stuff is just so bloody non-intuiitive
I'm copying an array  of strings into another array of arrays of strings
char[][] array1
array1 has in it [ 1, 12/12/06, 0123456, Hubert, 340, 1240.00, 0.00 ]
and I want to accumulate it in ,
char[][][] array2
as a line in array2. Array1's contents will change on the next pass of the loop and I increase x by 1 and want to store it then in array2line2
So I try 
array2[x]=array1;
or
array2[x]=array1[0..6]
or 
array2[x]=array1[] 
or Jesus I'm buggered if I know what to try next ,it could be anything
array2[x]=array1.dup don't work either
    
    
More information about the Digitalmars-d-learn
mailing list