06.02.13, 21:51, Alexander Klenin пишет:
On Wed, Feb 6, 2013 at 10:31 PM, Michael Schnell <mschn...@lumino.de> wrote:
point.x := x;
point.y := y;
s := point.ToString;
or
s := (x,y).ToString;
Has there not recently been a discussion on Tupels ?!?!?! :-)
At least according to my proposal, tuples will not be a type,
so you'll have to force a type by constructor:
s := TPoint(x,y).ToString;
or, as it is currently, by a special function:
s := Point(x,y).ToString;
or with a record constructor:
TPoint.Create(X, Y).ToString;
Best regards,
Paul Ishenin
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel