On 4/21/07 1:03 AM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:

> Another way to make quick work of the detailed files is to put them into an
> array:
> 
>    put the detailed files into foobar
>    split foobar by return and comma
> 
> then you can say,
> 
>    get item 1 of foobar[urlencode(myFileName)]
> 
> to obtain the file size. How's that for a one-liner?

You can include the size of the Mac data fork and still use just one line:

get sum(item 1 to 2 of foobar[urlencode(myFileName)])

-- Dick


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to