[fpc-pascal]self
Adam Naumowicz
adamn at math.uwb.edu.pl
Tue Oct 22 17:27:59 CEST 2002
Hello,
My friend noticed recently, that with version 1.1 you cannot write
something like that:
type t = object
procedure p(s:t);
end;
procedure t.p(s:t);
begin
self:=s;
end;
It causes 'Illegal expression' where self is assigned.
Does it mean that with the new version self is read only ?
I hope not.
Best regards,
Adam Naumowicz
======================================================================
Department of Applied Logic fax. +48 (85) 745-7662
Institute of Computer Science tel. +48 (85) 745-7559 (office)
University of Bialystok e-mail: adamn at mizar.org
Sosnowa 64, 15-887 Bialystok, Poland http://math.uwb.edu.pl/~adamn/
======================================================================
More information about the fpc-pascal
mailing list