Split to Array on Repeat Skips Every Other Line??

Sivakatirswami katir at hindu.org
Mon May 16 14:34:35 EDT 2005


Yes! Brian, that works... and yes, Alex, you are also right, splitting 
x is indeed breaking the guideline described in the docs.

thanks

skts

On May 15, 2005, at 8:36 PM, Brian Yennie wrote:

> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list