[fpc-pascal] FpDup2 dosen't work!

2005-10-19 Thread Linuxer Wang
Hi, all I can't make FpDup2 work. Even the example provided by the document can't work as well. My system is fedora4 linux, freepascal 2.0.0 [2005/08/17] for i386. Can anybody help me? Thanks program Example31; { Program to demonstrate the Dup function. } uses BaseUnix; var f : text; i : longi

[fpc-pascal] Packed record

2005-10-19 Thread Carsten Bager
I am using the compiler on an embedded Arm7 platform (no operating system). So fare things are working ok, but now I have discovered a problem when packing records (Vi have to maintain bindery compatibility with older systems) If I have a packed record like this Test_typ= packed record B:byte

Re: [fpc-pascal] Packed record

2005-10-19 Thread Florian Klaempfl
Carsten Bager wrote: > I am using the compiler on an embedded Arm7 platform (no > operating system). So fare things are working ok, but now I have > discovered a problem when packing records (Vi have to maintain > bindery compatibility with older systems) > If I have a packed record like t