type search

Blitz3D Forums/Blitz3D Beginners Area/type search

Agamer(Posted 2004) [#1]
Can I cycle through my type untill I find one of the feilds with a certain value


Kanati(Posted 2004) [#2]
Yes. I wish there was a more direct way to do it, but you'll have to do something like:

For t.yourtype = Each yourtype
  If t\yourvar = 25 Then
    ;you found it
  End If
Next



Agamer(Posted 2004) [#3]
yeh I had got that and now I am sure it isn;t taht bad though!