Alexander Klenin wrote:
On Fri, Aug 5, 2011 at 21:51, Luca Olivetti <[email protected]> wrote:
Al 05/08/11 12:40, En/na Sven Barth ha escrit:

Though "=" seems a little bit like a misuse of that operator... ":=" might be a 
more pascalish solution.
I really don't mind one way or the other, but since a bare = is used for 
defining constants,
it doesn't seem out of place for defining an alias (this is not an assignment).


Unfortunately, "with a = b do" is already a valid operator in FPC,
with different meaning.

In that case use  with const  which is similar to function declarations.

--
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

Reply via email to