Returning the Complete Array of types

Blitz3D Forums/Blitz3D Programming/Returning the Complete Array of types

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.

You only use the dot syntax when defining what type a variable is. Once it has been defined, you should not (need to) use it again. The following will produce the result you want:
For m=1 To 100 
	If Not (race(m) = Null)
		Print race(m)\wheels 
	EndIf
Next 
If you haven't defined all the cars in the race() array you need to check if they are valid, that's what the Null command is for.

Fredborg