PRB: DO <Program Name> Runs Cached Version of Program (156342)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156342 SYMPTOMS
If you run a program file, change the default directory, and then attempt
to run a different program of the same name from that directory, the first
program runs again.
CAUSE
For performance purposes, program or procedure code is cached in memory.
The version in memory is used when the same procedure or program name is
executed again.
WORKAROUND
Use the CLEAR PROGRAM command before running the second program of the same
name.
-or-
Reference the program explicitly by path, for example:
DO .\<progname>
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB156342 |
---|
|