Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is something wrong with this SEEK?
Message
From
27/12/2006 15:57:13
 
 
To
27/12/2006 14:57:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01180555
Message ID:
01180591
Views:
16
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform