Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21089

Calling a function with optional arguments

$
0
0
Can I make a function that all arguments are optional and in the event caller does not include any argument the function returns a 'pre-determined' value.

Note: the 'pre-determined' value can be different from one call to another depending on what value is in a certain variable which can be set by some sub prior to a sub that calls to function

Viewing all articles
Browse latest Browse all 21089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>