Skip to content

SetClearVarToEmptyParam

Create an error variant with value VAR_PARAMNOTFOUND.

Declaration

Source position: variants.pp line 116

procedure SetClearVarToEmptyParam(var V: tvardata);

Arguments

Name Description
V Variant to clear and convert.

Description

SetClearVarToEmptyParam clears the variant Vvar> and sets it's type to varError and value to VAR_PARAMNOTFOUND. VarIsEmptyParam(SetClearVarToEmptyParam(V)) will return True.

Errors

None.

See also

Name Description
VarIsEmptyParam Check if the variant is an error value for VAR_PARAMNOTFOUND.
VarIsError Check if the variant has type varError.