Re: File size limit
- Posted by Kat <KAT12 at coosahs.n??> Jun 12, 2008
- 735 views
Archarios wrote: > > Kat wrote: > > > > Archarios wrote: > > > > > > Taken from latest Euphoria311.chm - "Currently, files up to 2 Gb in size > > > can > > > be handled. Beyond that, some file operations may not work correctly. This > > > limit > > > will likely be increased in the future." > > > I have read in the forums the max file size is 4Gb and most talk about > > > using > > > seek(). > > > What is the max file size limit for simply read/writing a file, no seek() > > > or > > > where() etc. (I'm only including win32lib for sleep)? > > > Also I'm trying to create a file compare function, any tips? > > > > You can't seek over 2gbytes, but you can getc() and gets() to any length. So > > i made a procedure to getc() the number of bytes i wanted to seek(), and > > then > > there i was. > > > > I have asked for larger file numbers too, but i don't think we will get them > > in Eu v4. Even if we did, we could not do basic full precision integer math > > on the numbers over 4gigabytes (there are such libs in the archives tho). > > > > Kat > What about opening a file for append? > Thanks for the help! You need math for append? When i do writefile = open(filename,"a") i do not use any math, so i hope precision isn't a problem here? Kat