Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ATC not working
Message
From
09/01/2012 12:17:53
 
 
To
09/01/2012 12:07:02
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:
01532541
Views:
76
>>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)
>>
>
>check include file.
>
>
>lcCode = FILETOSTR( txSource )
>N   = ATC("test_case", lcCode)
>
Bingo. Thanks. I had Test_Case defined in a Include file. I changed it to [test]+[_test] so the preprocessor did translated it and it worked.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform