Hi, list,

This is a solution which can work until 4GB file, to find the size of a 
file. The file size, now, is a decimal value. Use it at your own risk: 
is an hack which makes some assumptions on Rebol file size which no one 
can assure.

info4G?: func [file][
    file: info? file
    if file/size < 0 [file/size: 2 ** 32 + to decimal! file/size]
    file
]
 >> probe info4g? %golost.txt
make object! [
    size: 2149300000.0
    date: 1-Nov-2002/16:37:12+1:00
    type: 'file
]

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to