[Lazarus] Cannot install package lNet in svn 28204

Marc Weustink marc.weustink at cuperus.nl
Mon Nov 15 10:48:10 CET 2010


John vd Waeter wrote:
> Hi All,
>
> When installing lNet package:
>
> C:\prog\lazarus\lnet\lib\lwebserver.pp(645,53) Error: absolute can only
> be associated with a var or const
>
> But it *is* a var:
>
> var
> lServerSocket: TLHTTPServerSocket absolute FSocket;
>
> ??

If FSocket is a member variable of a class it is not a variable.

You can only use absolute for variables which address is known on forehand.

Marc






More information about the Lazarus mailing list