Thanks for the confirmation and help, Olaf.
Glad to know the bug only occurs for TEXT..ENDTEXT, and doesn't appear to be an issue with other functions.
Ran into this strange bug today. Seems to be a lesson in how VFP scoping can be weird, and why you should always initialize variables. Code is below.
CLEAR
*
* [1] Initialize pcVar, which is PRIVATE by default
*
pcVar = PROGRAM()
DISPLAY MEMORY LIKE pcVar
TestProc()
*
* [5] pcVar updated to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.