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. It must be String.
           
Value
     Value of the variable. It must be String.
 

Scope

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

Samples

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

See Also