new Variable With Outer Type
fun newVariableWithOuterType(variableType: A_Type, optionalInitialValue: A_BasicObject? = null): AvailObject
Create a variable of the specified variable type. The new variable initially holds no value, unless one is specified as the optionalInitialValue.
Note that WRITE_REACTORS and VALUE can be initialized with ordinary slot writes here, because should the variable become shared, a volatile write to its descriptor (and subsequent volatile read by other threads) protects us.
Return
A new variable of the given type.
Parameters
variable Type
The variable type.