Sign in Join
FPDoc Onlineexperiment

SetClearVarToEmptyParam procedure

In unit Variants

Create an error variant with value VAR_PARAMNOTFOUND.

Declaration

pascal
procedure SetClearVarToEmptyParam(var V: tvardata)

Arguments

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.