Real Time 2D Rotating

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

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.

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