Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ATC not working
Message
 
To
09/01/2012 11:49:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01532496
Message ID:
01532534
Views:
54
>>>Hi all,
>>>
>>>Today, I made a small change in my code involving the ATC() function. I added the line ATC(... But when I run it, the debug Local window indicates 0 for N. But the Watch window gives me the correct position. Has anyone seen this before? And is there a work-around?
>>>
>>>
>>>lcCode = FILETOSTR( txSource )
>>>N   = ATC([test_case], lcCode)
>>>
>>
>>May be unrelated, but try using a longer name for a variable, say, lnPos.
>
>Thanks for the suggestiojn, but even with a new name, it still returns 0, when it should be 3130.


Is it possible to have different strings in [n = ATC(...)] and Watch window?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform