Basic Data Types
|type||min value||max value|
The '?' Type
A question mark (
?) in place of a regular type name in AngelScript means that any type may be passed in place of that type.
For those familiar with C/C++, this is the equivalent of
When storing a value as
?, the type of the value is lost. In order to interact with the value again, it must be cast back into the original type. Casting it into anything other than the original type will most likely result in the program crashing.