Speed Question

Blitz3D Forums/Blitz3D Beginners Area/Speed Question

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.

Say you 500 examples of player, is there any faster way to do this?

time1=millisecs()
For p.player=each player
For px.player=each player
writeline p\stream, px\x#+","+px\y#+","+px\z#+","+px\rot#
next
next
time2=millisecs()
time#-time2-time1


I get anywehre between 700 and 1200 for my time#

Will while be faster then two for next or two whiles, or? any suggestions? Or perhaps i can cut it down to one long line? Thanks for any input.