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.


_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to