In Studio, all variables are automatically initialized when first used if there is a
suitable default value for the variable type. The following table summarizes the
default values that are used for each type:
Variable Type
Default Value
Numeric
0
String
""
Any
null
Time
'now'
Interval
'0s'
Initialization
Variables can be initialized during declaration as in the following example:
name as String = "Hello"
Variables can also be initialized after declaration by using an Assignment Statement as in
the following example: