George Birbilis wrote:
> user. I understand that it first tries to parse the right side and throws
> this error though, since one could have also written proc1+proc2 there, but
> having an extra precheck for the case of :=proc wouldn't hurt I think (or if
> it doesn't stop on first error, it should show after the first message that
> the proc can't be used on the right-side of the assignment)

I also think the error message can be clearer, but that's not for me to
decide ;-).

> The thing is, did it work with Delphi, or did the original poster forget
> they had used @ at Delphi? I suppose they forgot

No, Delphi allows this syntax. It even does not allow the syntax with an
'@' in front AFAIK.

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to