General information
Category:
Coding, syntax & commands
Nice try, but it won't work.
Every RUN command gets its own environment. As soon as it's done, that environment (and the variable you've set) is released.
>You can use the getenv() function to read the variable. You can set the variable in dos or use the run command to set the variable in dos from within fox
>
>eg:
>* Set var
>lcCmd = "set abc=123"
>run lcCmd
>
>* Read var
>
>lcVal = getenv('abc')
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only