Your best bet here would be to create a 360 element array, and store each rotation in an element of the array. I don't believe you can't convert strings to variable names, but I could be wrong. Also, in the code above, you're for loop should go from 1 to 360 or 0 to 359... angles 0 and 360 are the same.
This is what I would do:
Thats just something I whipped up, so if there's an error I apologize. But you get the idea.
This is what I would do:
Dim myimagerotated(360) myimage=LoadImage("myimage.bmp") tmpimage=CopyImage(myimage) myimagerotated(0)=myimage For x=1 to 359 myimagerotated(x) =RotateImage(tmpimage,x+1) Next Drawimage myimagerotated(55),0,0
Thats just something I whipped up, so if there's an error I apologize. But you get the idea.