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.

Thanks Robert, you were the first one to clue me in on what I had in mind. I figured something like that was possible but I just couldn't see it.

Setting a variable to the nested type will be very much what I need, thanks..

ie

Local temp:mytype = Thing.dvar.bvar
Print temp.avar

(as in beakers example above).

I just wanted to be able to go whatever.field, like relative to what type I wanted to work with, rather than give the whole absolute path. Thanks!

The pointer method is interesting, you sure can do some sneaky things with those, but I think the variable shortcut will be just fine.