Real Time 2D Rotating

Blitz3D Forums/Blitz3D Beginners Area/Real Time 2D Rotating

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Arrays are global (see below). You can't actually have local arrays in b3d.

Dim array(9)

For i=0 To 9
	array(i)=i
Next

printArray(0,9)
WaitKey

Function printArray(iFrom,iTo)
Print array(iFrom)
iFrom=iFrom+1
If iFrom<(iTo+1) Then printArray(iFrom,iTo)
End Function