Types: After?

BlitzMax Forums/BlitzMax Beginners Area/Types: After?

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.

In BlitzClassic I used the following code to cycle through custom types:
; somewhere in during setup
global CurrentType.aType = first Type

while not keydown(1)
  ; further on in main loop
  ; cycle through the types one at a time
  ; during each game cycle

  currentType = after currentType
  if currentType = Null then currentType = first Type

  ; do something with currentType
wend

Is it possible to do something like this in BlitzMax without converting the list to an array?