$ObjErrParameter

Provides the number of the parameter that caused an error.

Syntax

$ObjErrParameter

Return Value

Number (INT). Can be reset by an application program.

Comments

If a Zim error of 5201 (Unknown Parameter) or 5202 (Type Mismatch) occurs, the $ObjErrParameter is set to the number of the parameter that caused the error. If the 5201 error occurs and the $ObjErrParameter is $null, the method or property name is unknown. This variable is reset when an error is triggered that was caused by a component operation.

 

Related Topics