Hello,
On Thu, 26 Sep 2002, [iso-8859-1] Michael Behm wrote:
I coded a procedure which takes an object as a value parameter
procedure AnyThing (var v: ObjTyp);
What you wrote is passing a reference parameter ;-)
The compiler returns the error "object must not be a value parameter" - this is pretty clear to me, but I can do it in Borland Pascal (at least with 6.0). Also, I used the --borland-pascal option
Is there some possibility ?
Do we really need such b(ack/ug)-compatibility for BP ?
Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------