I have a funny problem with my snippet ( for getting mouse values ), that the screen stays blank, but if I remove the CLS from within the loop, I can see what is being printed, but every cycle of the loop, it over-writes, and soon becomes messy.
Something wrong with the CLS/SYNC commands, but it has happened in other codes I have done, but it DID work, until recently, and I havent changed it. I just loaded the code to look at the mouse readings.
sync rate 1000 :sync on
do
cls
text 20,20," no input "
if mouseclick()=1 then text 20,20,"1"
if mouseclick()=2 then text 20,30,"2"
if mouseclick()=4 then text 20,50,"4"
if mouseclick()=8 then text 20,60,"8"
if mouseclick()=16 then text 20,70,"16"
move$=str$(mousemoveX()) : text 20,80,"MOUSE X ="+move$
move$=str$(mousemoveY()) : text 20,90,"MOUSE Y ="+move$
move$=str$(mousemoveZ()) : text 20,100,"MOUSE Z ="+move$
sync
loop
simon.