ArgMissing Procedure

Returns True if the caller omitted the specified optional parameter to the current procedure.

Syntax

[ vbStatus = ] ArgMissing ( pParam )

The ArgMissing procedure syntax has the following parts:

 

Name

Type

Description

vbStatus

Bool

Status

pParam

Val Any

Parameter of the current procedure

Comments

The ArgMissing procedure allows you to find out whether the argument of an optional parameter has been passed to a procedure or not.

Example

if ArgMissing(bResetDevice)

bResetDevice=Driver.Parameters("ResetOnInit")

endif

See Also