New Declarations Possibilities For VB4

New Declarations Possibilities For VB4

Add Optional parameters to your procedure calls. Both Functions and subs can now use the Optional keyword in the declaration to indicate that the following parameter is optional:

 Function mfbCheckDBStatus(Optional _	vroTest As Variant) As Boolean

This function can also be called without the parameter:


If you need to check for the existence of an optional parameter, usethe IsMissing function to test the parameter.


Share the Post: