Getting around the 2 gig limit
Dave
dave at looktowindward.com
Wed May 30 15:40:08 EDT 2007
Hi,
Will it work with files >4 GB? The files I am processing are 30+ GB!
All the Best
Dave
On 30 May 2007, at 19:56, J. Landman Gay wrote:
> Richard Gaskin wrote:
>
>> So after all the sturm und drang it turns out the the seek command
>> still works on larger files?
>
> Well, he said he hadn't actually checked his script yet but that
> the engine code indicated it should work. Note that it isn't a
> plain old "seek". It first moves the pointer to the 2-gig mark,
> then seeks relative to that position (minus the 2 gig chunk.)
> Apparently you have to seek in amounts less than 2 gigs.
>
>> else
>> seek to 2147483647 in file tFile
>> seek rel tFilePosition - 2147483647 in file tFile
>> read from file tFile for tCount
>> put the result into tResult
>> put it into rData
>> end if
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list