Getting around the 2 gig limit
Joe Lewis Wilkins
pepetoo at cox.net
Wed May 30 00:26:37 EDT 2007
Hey, Jacque, I thought it was Greek! (smile)
Joe Wilkins
On May 29, 2007, at 9:22 PM, J. Landman Gay wrote:
> I actually got the following in my mailbox last week but was out of
> town for the weekend and I'm just catching up now. This is from
> Mark Waddingham:
>
>> I haven't had a chance to check this but something like the
> > following might work (as a workaround):
>> on readFrom64 tFile, tFilePosition, tCount, @rData
>> local tResult
>> if tFilePosition <= 2147483647 then
>> read from file tFile at tFilePosition for tCount
>> put the result into tResult
>> put it into rData
>> 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
>> return tResult
>> end readFrom64
>> (mutatis mutandem for writeTo64)
>
> You gotta love a programmer who gives instructions in Latin. :)
>
> Dave, heads up. You might want to try this.
>
> --
> 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