Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

SetClearVarToEmptyParam

Create an error variant with value VAR_PARAMNOTFOUND.

Declaration

Source position: variants.pp line 116

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

VarIsEmptyParam

  

Check if the variant is an error value for VAR_PARAMNOTFOUND.

VarIsError

  

Check if the variant has type varError.


Documentation generated on: Dec 23 2024