change extended type

BlitzMax Forums/BlitzMax Programming/change extended type

Czar,
the last line:

Local dob:TDOB = age.toDOB()

dob is a local 'type pointer' but toDOB() function returns a number doesnt it?

so it will return an integer which will be incompatible and cause it to not compile?