How to Pass Parameters from Windows to FoxPro for Windows
Article ID: 109612
Article Last Modified on 12/3/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft FoxPro 2.5b
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b
This article was previously published under Q109612
SUMMARY
When you are passing parameters from Windows to FoxPro for Windows, follow
the rules below:
- Do not enclose Character-type parameters in single quotation marks.
- Separate multiple parameters with a space.
- Each parameter is received in the Character type. Use conversion
functions such as VAL() or CTOD() to change to types other than
Character.
- If an application is invoked in the FoxPro command line, the application
must begin with a PARAMETERS statement.
REFERENCES
For information about passing parameters from MS-DOS to a FoxPro for MS-DOS
program, query on the following words here in the Microsoft Knowledge Base:
pass and parameters and foxpro and ms-dos and prompt
Additional query words: VFoxWin FoxWin 2.50
Keywords: KB109612