[fpc-pascal] Dear FreePascal

Bart bartjunk64 at gmail.com
Wed Apr 21 11:30:13 CEST 2010


>  program ElementTable ;
>  {this program's purpose is to input The Periodic Table of Element }
>  type
>   yuansu=record

I would also suggest changing that to

 yuansu= packed record

This will ensure that the size of the data (SizeOf(yuansu)) will be
the same cross platfor and cross OS (16 vs 32 vs 64 bit systems).
Otherwise you might not be able to read the file if you compile the
program for a different architecture.


More information about the fpc-pascal mailing list