> >
> > 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
You've just proved your point--I misread it the first time through and didn't realize you were showing NOT of a negative variable! (But I have to agree with Tamar that I've done this on occassion when I have to add a parameter to something and don't want to affect all the places it's called from.)
-BP
www.peisch.com