Here is why I was wondering why you couldn't, say I have this type:
Type tMyRec = Record X, Y : Real; End;
And I have this function:
Function CheckPoint(aPoint: tMyRec): Boolean;
Begin
{Does something here..}
end;
begin
CheckPoint((X:1.2;Y:2.2));
end.
In short I think it would be a nifty fe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 16 February 2004 00:40, Jon D. Sawyer wrote:
> Const ARec : tMyRec = (X:12; Y:25);
>
> why can't I do this?
>
> var
> AnotherRec: tMyRec;
> begin
> AnotherRec := (X:12; Y:25);
It's just the way the language is... you could do this...
A