• Reference Guide


var_union <- set_union_type(type)
The var_union parameter is an l-value referring to a data item of the union category. The function sets the type of the value contained in the data item to the type parameter. If there already is a value stored in the data item, the function attempts to convert the value to the required type. If the conversion fails, the value of the data item is set to the initial value of the required data type. If the var_union parameter does not identify an existing data item or the data item is not of the union category, an error is returned.