ID:175519
 
I would like to know if there is any possible way to change types at runtime. There doesn't seem to be any way according to the reference, as it says the type var is read-only. Thanks in advance.
Mertek wrote:
I would like to know if there is any possible way to change types at runtime. There doesn't seem to be any way according to the reference, as it says the type var is read-only. Thanks in advance.

The closest thing you can do to changing types is to create an object of the new type and copy the data over. But why do you need to change the data type :P? There might be a better solution.