Can someone give me a Blitzmax example of typecasting... that is if it can be done. I was thinking you could use 'Object' since its the base of most things.
Something like typecasting,
BlitzMax Forums/BlitzMax Programming/Something like typecasting, TypeToCastTo(variable)
For example...
Downcast:
Object(myEntity)
Upcast:
TEntity(myObject)
For example...
Downcast:
Object(myEntity)
Upcast:
TEntity(myObject)
Thanks,