CanCastTypeTo (open)
Returns whether a type is implicitly casted to another type if a value of that other type is required
Syntax
// Core function, no LOADLIB necessary
BOOLEAN FUNCTION CanCastTypeTo(INTEGER fromtype, INTEGER totype)
Parameters
INTEGER fromtype
The type that has to be casted
INTEGER totype
The desired type
Return value
BOOLEAN
Returns whether the type is implicitly casted to the other type when required