>
> IF !llNotAllowed
> * do something
> ELSE
> * do something else
> ENDIF
>
>
> That's REALLY hard to read! But I will sometimes use the negative case first, if the code for that situation is very short and the ELSE code is much longer.
>
Yes, but then you still don't have to use negative variable names:
IF NOT llAllowed
MESSAGEBOX("No way dude!", 64, _screen.caption)
ELSE
* do some major operation
ENDIF
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts