Function DoIt LParameters cParm1 as Character && btw what is diff between Character/String? cRetVal = "A " + cParm1 Return cRetVal EndFuncIn command window, type:
Set Procedure to c:\wintemp\aaaaaa.prg ? DoIt("E") && You will see: A E ? DoIt("E",B") && You will see: Program Error Must specify additional parametersI want the second parameter to be optional. I can go the other way easily enough, but I want to kind of "overload" the function call when I need to. Is there a way to throw additional parameters at a function/method?