in a code segment I have this array:
    
    
    var str_ar:array[0..20,string]
    str_ar[0] = @["10", "30", "40", "50", "80"]
    
    
    
    Run

If I loop over this array with for, i.e,
    
    
    for m in str_ar[0]:
         echo "=> " & m
    
    
    
    Run

I see this
    
    
    => @
    => [
    => "
    => 1
    => 0
    => "
    => ,
    =>
    => "
    => 3
    => 0
    => "
    => ,
    =>
    => "
    => 4
    => 0
    
    
    Run

etc. Why is this iterating over characters...I expected to see,
    
    
    =>
    => "10"
    => "30"
    => "40"
    
    
    Run

etc. There is something fundamental I haven't caught on yet...what is it? Or is 
it something so simple, its just that its late in the night here ... 

Reply via email to