[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

SetClearVarToEmptyParam

Create an error variant with value VAR_PARAMNOTFOUND

Declaration

Source position: variants.pp line 109

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: Jun 22 2020