Naming rules of a Variable
Last updated
Last updated
Users can create variables and must give them names to identify them while working in Actions. The naming rules for a variable are:
The variable's name must begin with a letter (A-Z or a-z). Digits (0-9) and _ (underscore) are allowed after the first letter.
The name cannot contain whitespaces or special characters such as !, #, %, . (dot), etc.
The variable name must be unique in the same scope.
Names are case insensitive, so the variables “mycustomer” and “MyCustomer” are identical.
Reserved words cannot be used as names for variables (see the list below).
The Langstack application reserved keywords for variables are as follows:
abstract
datetime
list
return
add
decimal
long
sbyte
bool
default
namespace
set
boolean
delegate
new
short
byte
double
null
string
case
enum
numeric
this
catch
FALSE
object
TRUE
char
float
operator
uint
class
function
package
ulong
const
int
variable
void
date
json
public