General information
Category:
Coding, syntax & commands
Well it *does* have everything to do with SET EXACT.
It's the way FP/VFP has always worked (easy to forget, though, in the heat of debugging).
You can use "==" or SET EXACT ON to get what you expect.
cheers
>Me going potty or what? I've been importing a series of bus routes from an ACII text file. I noticed there were several input recs with the same Route ID, i.e. "1 ". Each route ID is forced into a 4-char var, lcRouteID. I wanted to catch each time I encountered one so I threw in the following code, to catch them in debug:
>
>If ALLTRIM( lcrouteid) = "1"
> x=1 && Just a dummy with the BREAKPOINT
>EndIf
>
>Unfortunately this halted on every route that began with 1, e.g. "137 ", "100 ", "1A ". I think this is wrong. It should have nothing to do with "Set exact" et al.
>
>Any comment?
>
>Terry
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only