Bart wrote:
On 11/29/14, silvioprog <[email protected]> wrote:{ TIntegerHelper } function TIntegerHelper.ToString: string; begin Result := IntToStr(Self); end; ... var I: Integer = 123; begin WriteLn(I.ToString); // Prints 123 end.Looks like Java. Bart
Are you going to be the one to hack FPC's macro facility to define { and } as begin and end? :-)
-- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
