Skip to content

SetClearVarToEmptyParam

Create an error variant with value VAR_PARAMNOTFOUND

Declaration

Source position: variants.pp line 109

  procedure SetClearVarToEmptyParam(var V: tvardata);

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