If you are looking for a real time update to the screen, then the text command is really better than print. It allows you to place the text anywhere you like.
This is a function I use in the majority of my programs. I always keep it in my functions.dba file I attach to most of my projects. No point wasting good code!
In action:
Sync On
Sync Rate 60
Autocam off
Position Camera 0, 0, 0
For x = 1 to 100
Make Object Cube x, 30
Position Object x, rnd(1000)-500, rnd(1000)-500, rnd(1000)-500
Next x
Do
CONTROL CAMERA USING ARROWKEYS 0, 2, 1
Campos(0)
Sync
Loop
Function Campos(temp)
Text 10, 10, "Cam Pos x: " + str$(camera position x(temp))
Text 10, 21, "Cam Pos y: " + str$(camera position y(temp))
Text 10, 32, "Cam Pos z: " + str$(camera position z(temp))
EndFunction
Function Campos(temp)
Text 10, 10, "Cam Pos x: " + str$(camera position x(temp))
Text 10, 21, "Cam Pos y: " + str$(camera position y(temp))
Text 10, 32, "Cam Pos z: " + str$(camera position z(temp))
EndFunction