Type Conversion

BlitzMax Forums/BlitzMax Beginners Area/Type Conversion

You can convert things like so:

Type P
 Field aField
EndType

Type C extends P
 Field Field2
EndType

MyC:C=new C
MyC.afield=5

Print P(MyC).aField
You don't need to covert it, its just an example.