We are running 10.0.11, PICK flavor.

LOCATE STRING IN ARRAY<1> "DR" SETTING POS ELSE POS = 1

This compiled and executed but gave results we were not expecting.  After some 
analysis and two sets of eyes, the aha moment that the BY was missing. LOCATE 
STRING IN ARRAY<1,1> BY "DR" SETTING POS ELSE POS = 1

It took us a while to look there since the compiler accepted it.  When we found 
it we discussed that we really expected the syntax error to be identified by 
the compiler.  Are we expecting too much from the compiler?
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to