krestenbagerOccasional Contributor16 years agoVB: possible to define an optional parameter in a sub?Hi all, In VB it should be possible to declare a sub procedure with an optional parameter, e.g.: Sub notify(ByVal company As String, Optional ByVal office As String = "QJZ") I know th...Show More
YMinaevStaff16 years agoHi Kresten,TC uses the standard Microsoft VBScript engine which doesn't support optional parameters.
Recent DiscussionsTestComplete Closing Issue in Debug ModeSend Request Operation - Response Body?Elements detected, clicked in wrong location with Chrome
Related ContentUnable to set header parameter to optionalOAS3 - Error on Parameter.required - Optional ParameterRest - Parameter that is optional and empty value