On 27/12/2020 5:02 pm, Michael Van Canneyt via fpc-pascal wrote: > Because on 32 bit platforms, this is the maximum size of available memory for > a program, and we like things maximally portable. You can't read more than > 2gb in memory on a 32-bit platform.
Ha yes, it's been so long since I ran a 32bit system, I forgot about the memory limits. :-) Thanks for the reminder. I see that Delphi has now introduced a Read64() method into the TStream class. So they still keep backwards compatibility too, but allow for larger read operations. http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TStream.Read64 Regards, Graeme _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal