This should get you started:
sync on
sync rate 30
autocam off
raquette = 1
balle = 2
xraq#=0
xballe#=0
yballe#=100
make object box raquette,100,20,20
position object raquette,xraq#,0,0
make object sphere balle,10
position object balle,xballe#,yballe#,0
position camera 0,250,-500
DO
if leftkey()=1 then dec xraq#,10
if rightkey()=1 then inc xraq#,10
position object raquette,xraq#,0,0
sync
loop
remember 'float' variables have the # after the name, not before.
Unless you do AUTOCAM OFF at top of program, then everytime you create a new object the camera is automatically positioned to be in front of it. Best to turn off this and position camera manually
Boo!