lang • cvariant

CVariant

Result = CVar ( Expression ) Result = CVariant ( Expression )

Converts an expression into a variant.

This is useful when the result of a function depends on the datatype of its arguments.

For example: ["a", "b", "c"] will return a String[], whereas [CVariant("a"), "b", "c"] will return a Variant[].

See also