>Which these two are better,faster,etc.
>
>IF (NOT SEEK(UPPER(expr)))
>...
>ENDIF
> or
>m.var = UPPER(expr)
>IF (NOT SEEK(m.var))
>...
>ENDIF
>
>
>Regards
>Bhavbhuti
My SWAG would be the first is faster because VFP doesn't have to allocate a variable for it (haven't tested it for sure). However, the difference could probably be measured in microseconds (if that) so I am not sure if it is worth it to test.
Do you have a particular implementation in mind that you would need the information or is it just curiosity?
Regards.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao