Did you try to give the variable a meaningful name?
>
>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)
>
--sb--