PRB: PROGRAM(0) and PROGRAM(1) Return Different ResultsLast reviewed: May 17, 1996Article ID: Q109477 |
The information in this article applies to:
SYMPTOMSDepending on how a program is executed, PROGRAM(0) and PROGRAM(1) may not return the expected results. For example, when a program is executed from the Run menu, the return values will be "ON..." instead of the executing program name.
RESOLUTIONIf you are using these functions to obtain the main program name, remove FOXSTART.APP from the FoxPro folder. Doing this keeps the Run menu from appearing when FoxPro is restarted and thus removes the ability to choose Application from the Run menu in order to start a program.
MORE INFORMATIONThe functions PROGRAM(0) and PROGRAM(1) return the name of the master program (the highest-level program).
Steps to Reproduce Behavior
|
Additional reference words: FoxMac 2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |