Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ATC not working
Message
De
09/01/2012 12:17:53
 
 
À
09/01/2012 12:07:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01532496
Message ID:
01532541
Vues:
77
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform