gpc-20030830 and packed records

Prof A Olowofoyeku (The African Chief) chiefsoft at bigfoot.com
Sat Dec 13 16:27:02 CET 2003


Hi Frank

I thought the problem with packed records was fixed in 20030830 - but 
this program:

program packer;
uses strings;
Type
foo = packed record
  sig : array [ 0..3 ] OF char;
end;

Var f : foo;
Begin
   strcopy (f.sig, 'OK');
End.

produces this compiler error:
packer.pas: In main program:
packer.pas:10: cannot take address of packed record field `sig'

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The African Chief) 
web:  http://www.bigfoot.com/~african_chief/




More information about the Gpc mailing list