Re: Optional Parameter by Rush
Rush
Tue Dec 30 14:41:33 CST 2003
in FoxPro, all parameters are optional - for example, MyForm.DoStuff(a, b, ,
d) would execute DoStuff with only the first, second, and fourth parameter
supplied.
Of course, you'll have to resolve the parameters within your method - any
missing parameters will be initialized as a logical .F., regardless of
'expected' data type.
- Rush
"Roger Cantillo" <rogerc@axiomsw.com> wrote in message
news:OPPM5OxzDHA.1576@TK2MSFTNGP11.phx.gbl...
> Hi,
> Can anyone tell me how to setup optional parameters in a method?
>
>
>
>