>>Hmmm... I have been thinking a while ago about writing up a FAQ on coding shortcuts. <That sounds too much like work!! <g>
>>Hilmar,
>>
>>
>For a long time, I didn't know about this behavior, and used superfluous SELECT statements at the end of the loop.<>>
>>Yep, it's one of my pet peeves! That's why I felt compelled to comment on it. <g> Also, another one that drives me crazy is people who put GO TOP before the SCAN. Totally NOT necessary!! (except in the case of a SCAN WHILE, and then it's probably not a GO TOP, but a LOCATE or SEEK or something).
>
>Hmmm... I have been thinking a while ago about writing up a FAQ on coding shortcuts. Shortcuts for simple things like:
>
>
>if a
> if b
> do_something()
> endif
>endif
>
>
>or:
>
>
>if (a and not b) or (b and not a)
>
>
>or (arghh):
>
>
>if (condition)
> x = .T.
>else
> x = .F.
>endif
>
>
>or:
>
>
>if x = .T.
>