Dalmatian
April 15th, 1999, 01:46 PM
I think that this fits under function declarations:
I've got a function declared as :
function DoOneOrTheOther (Optional One as String, Optional Other as string) as Boolean
This function is only meant to do one of the two calculations specified by string, the two calculations requiring different initializations within the function. I want to make sure that the user sends at least one of the two parameters down. How do I do that (I mean without error checking , if statement based code)
Thanx!
I've got a function declared as :
function DoOneOrTheOther (Optional One as String, Optional Other as string) as Boolean
This function is only meant to do one of the two calculations specified by string, the two calculations requiring different initializations within the function. I want to make sure that the user sends at least one of the two parameters down. How do I do that (I mean without error checking , if statement based code)
Thanx!