VarErrorArgMissing Variable |
Version 6 (134a), 7.0 |
A Variant constant initialized to an error type (vtError) and scode DISP_E_PARAMNOTFOUND indicating that no argument was passed to a parameter of Variant type.
vtError with error code DISP_E_PARAMNOTFOUND (0x80020004L, defined in winerror.h)
Variant Public Const
Default value of an optional variant parameter.
The following example shows a procedure used to output an HTML table cell. The optional variant parameter if not passed, will print a cell with "-" :
Procedure AddTableCell( vrOptional: [Val] Variant = VarErrorArgMissing)
{
if vrOptional=VarErrorArgMissing
vrOptional="-"
endif
print "<TD>";vrOptional
}