[Lazarus] 'with' is evil, isn't it?

Alexander Klenin klenin at gmail.com
Fri Aug 5 12:53:31 CEST 2011


On Fri, Aug 5, 2011 at 21:51, Luca Olivetti <luca at wetron.es> 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.


-- 
Alexander S. Klenin




More information about the Lazarus mailing list