[fpc-pascal]Defining Records on the fly:

Jon D. Sawyer badquanta at comcast.net
Sun Feb 15 17:40:47 CET 2004


If I have this type:
Type tMyRec = Record X, Y: Integer; End;

and can do this:

Const ARec : tMyRec = (X:12; Y:25);

why can't I do this?

var
  AnotherRec: tMyRec;
begin
  AnotherRec := (X:12; Y:25);
end.


** Feel free to smack me around.





More information about the fpc-pascal mailing list