I've tried that but I still get what I got before. Here's what I've got:
sync on
sync rate 30
load image "D:\Program Files\Dark Basic Software\Dark basic\media\bitmaps\photos\seascap\Shore04.bmp", 2
Draw To Back
sprite 3,0,0,2
load object "D:\Program Files\Dark Basic Software\Dark Basic\media\models\static\H\Helico13.x", 1
position object 1,-12,-6,0
rotate object 1,0,190,0
do
ay#=object angle y(1)
ax#=object angle x(1)
if upkey()=1 then move object 1,-2
if leftkey()=1 then ay# = wrapvalue(ay#-5)
if rightkey()=1 then ay# = wrapvalue(ay#+5)
if downkey()=1 then move object 1,2
yrotate object 1,ay#
xrotate object 1,ax#
sync
loop
"I love to go down to the school yard and watch all the children run jump and scream... I don't think they know I'm only using blanks."