Split to Array on Repeat Skips Every Other Line??

Brian Yennie briany at qldlearning.com
Mon May 16 02:36:22 EDT 2005


Just out of curiosity, what happens with the following:

global gSomeData # which has six lines  of data

repeat for each line x in gSomeData
    put x into y
    split y with "|" and tab
    put y["Project"] & tab &  (y["hours"] +round(y["hour-fraction"],2)) 
& tab & y["Fund_Category"] & cr after tLog
end repeat

Wondering if Rev was having some trouble with the "repeat for each" 
variable being used as an array...

- Brian



More information about the use-livecode mailing list