Hi,

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

I would also suggest changing that to

type
 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.

Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to