Implements a variable holder object.
Implements: IVariable
Description
The Variable class allows you to implement a variable holder object.
Constructors
publicconstructor(name: string, value?: Variant)
- name: string - name of this variable.
- value: Variant - value of this variable.
Properties
name
Name of the variable
publicname(): string
- returns: string - variable name.
value
Gets the variable’s value.
publicvalue(): Variant
- returns: Variant - variable value.
Sets the variable’s value.
publicvalue(value: Variant)
- value: Variant - variable’s value.