>Hello all.
>One of my co-worker saw one of my SEEK() statement and made a "big" deal that I shouldn't do it this way, but he wouldn't say why except to say that "it's not our standard"...
>
>What is wrong With
>
>IF SEEK(MyValue, "MyTable", "MyIndexTag")
> ...
>ENDIF
>
>?
>
>Is there a reason why I should use this?
I use this syntax all time when writing my own code.
OTOH, standards are there for a purpose (how many posts here include a statement such as "You shouldn't do it that way, it violates the (ANSI/Windows/xxx) standard"?).
Even if it's inferior, I'd probably just curse a bit (under my breath of course) and adjust my coding style to meet the "standard." It usually cost far more to fight the standard (or try to change it), than to simply comply with it.
Of course, an explanation of "it's not our standard" is incomplete without an explanation of what the standard actually is. I'd be curious as to how your co-worker wanted you to modify the code.