Shortcut to refer to a type field?

BlitzMax Forums/BlitzMax Beginners Area/Shortcut to refer to a type field?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Or use pointers. Something like:
Type mytype
   Field avar:Int
End Type

Type mytype2
   Field bvar:mytype
   Field cvar:Int
End Type

Type mytype3
   Field dvar:mytype2
   Field evar:Int
End Type

Local Thing:mytype3=New mytype3

Local a:Int Ptr = Varptr(Thing.dvar.bvar.avar)

Print a[0] ' Thing.dvar.bvar.avar

Which will save typing if you use it a lot.