[lazarus] classesh.inc change required

Peter Vreman pfv at cooldown.demon.nl
Tue Dec 21 19:42:19 EST 1999


> > At 14:20 21-12-99 , you wrote:
> > >Can we get the objfpc mode to allow us NOT to use the @ when assigning
> > >procedures?  That's the only problem I have seenwith this mode.
> > >Shane
> >
> > Why do you think we implemented the @ for assigning? Because the delphi/tp
> > way is very confusing. So we will NEVER turn it off in objfpc mode
> ofcourse.
> >
> > Peter
> 
> I don't find it confusing...
> 
> You create a procedural type.. and then a Var of that type.. and assign it a
> value of the same type. Just like you would do with integers.. or strings..
> Var:= Value.. so logical.
But...

procedure(function);

is the result of the function passed or the function as procvar?


procedure(procedurevar);

is the result of the procvar function passed or the procvar itself?

And what if the result of the function is a procvar?


Peter






More information about the Lazarus mailing list