Since arrays need to have a know length at compilè time, a tuple of arrays is 
simply: 
    
    
    type
      A = tuple
        ints:array[3,int] # an array that contains 3 integers
        strings:array[3,string] # 3 strings
    
    var
      arrint = [1,2,3]
      arrstr = ["one","two","three"]
      
      a : A = (ints:arrint, strings:arrstr)
    
    echo a.ints[0] # 1
    echo a.strings[0] # one
    

Is this what you meant? Obviusly you can't change the array lenght at runtime, 
but you can overwrite elements in the arrays. Also, is there a reason you 
specifically want a tuple and not an object?

Reply via email to