The Declare variable action is used to create and initialize a new variable of the specified type.
Property | Description |
---|---|
Name | Name of the variable. The name should conform to the variable naming conventions of the language used. If PHP or Perl is used, the "$" sign will automatically be added to the name of the variable in the code. |
Type | Type property is ignored for type less languages: ASP, PHP, etc. If the exact type of the variable is not known, you can use the standard CodeCharge Studio data type which will be converted to the closest type for the language used. |
Initial value | Value or expression which will evaluate to a value to be assigned to the variable. |