Something like typecasting,

BlitzMax Forums/BlitzMax Programming/Something like typecasting,

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.

TypeToCastTo(variable)

For example...
Downcast:
Object(myEntity)

Upcast:
TEntity(myObject)

Thanks,