Simple question..I hope

Blitz3D Forums/Blitz3D Programming/Simple question..I hope

cash(Posted 2004) [#1]
Not realy a 3d thing but its for my 3d game..

I have several objects door1,door2,door3 etc etc.
I want to use a piece of code which can be called generically using the numeric part of the name as the identifier.

eg something like

If door(x)= ????? then ?????

Any ideas


TomToad(Posted 2004) [#2]
Use arrays.