>>Normally, it shouldn't complain, but you can use simple coding:
>>lRetvalue=Thisform.dosomething()
>>IF lRetvalue=.t.
>
>If there's really a difference between that and
>
> if ThisForm.dosomething()
>
>then we've got a seriously broken compiler on our hands. :)
>
>I've never found this workaround necessary. Have you?
No. But I don't use THEN which was mentioned in original post.
Edward Pikman
Independent Consultant