[lazarus] Calling boolean type function
Marc Weustink
weus at quicknet.nl
Thu Mar 30 14:19:43 EST 2000
At 17:38 30-03-2000 +0200, Florian Klaempfl wrote:
> > >The compiler complains about:
> > >
> > > Error: Incompatible types: got "TMYFUNC" expected "BOOLEAN"
> > >
> > >Am I missing something ??
>
>Try
>
>b:=MyFunc();
>
>else FPC believes you want to copy the contents of MyFunc to b.
Thanks that did the trick (I thought that I tried it but apperently not)
Marc
> >
> > No : on the contrary, the @ should be dropped.
> >
> > Jean Bénard Informatique premier cycle
> > Bât 336 Campus d'Orsay
> > 91405 ORSAY Cedex
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.miraclec.com/list_archives/lazarus
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list