Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to a procedure in .PRG
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Passing parameters to a procedure in .PRG
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01053275
Message ID:
01053275
Views:
124
I have a procedure in a .PRG file. That is, there is no FUNCTION or PROCEDURE declaration in this .PRG file. The procedure receives two parameters. I tried, for a test, to pass just a second parameter:
do MyProcInPrg with , lSecondParam
Inside the MyProcInPrg the PCOUNT() returns 2. Is this a "kosher" way to skip the first parameter and just pass the second one?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform