AddVariable Method

Official Content
This documentation is valid for:
Adds a value for a variable to the ‘form’.

Syntax

&DataType.AddVariable(Name, Value)

Where:
Name
Name of the variable, must be String
           
Value
Value of the variable, must be String

Example

AddVariable(“CliCod”, &CliCod)
It set the variable “CliCod” of the form with the value of &Clicod.

Scope

Extended Data Types: HttpClient
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also