[fpc-pascal]MaxAvail in Win32 systems

Lukasz Lesniak lukebfth at hotmail.com
Sun May 12 13:33:02 CEST 2002

I write a program like database, you know:
Person = record
           name: string[30];
           phone: string[10];
  and I am using dynamic list.
When program starts I read all records to memory (BTW: it is good idea?) and 
I want to check it is enough memory to load next record:
if MaxAvail >= SizeOf(Person^.desc) then ...

Please tell me how its work in Win32 because I create file about 400 MB
and all record was loaded sucessfully (PC with 64 MB physical RAM and 600 MB 
virtual memory). I know it's using virtual memory ...

luke BFTH

Send and receive Hotmail on your mobile device: http://mobile.msn.com

More information about the fpc-pascal mailing list