On 01 May 2006, at 20:07, L505 wrote:

did you mean this ? :

   procedure ChangeRec1(const Rec: TSomeRec);
   begin
     Rec.a:= 'string A';
   end;

Because I can't pass a PSomeRec to that function, only a TSomeRec

Then pass a PSomeRec^ to it if you don't intend to change the pointer anyway.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to