Oh, c'mon Bond, get real. It is not very polite to demand the exact code. Take a look at the help files. They explain exactly what each command does, and exactly what each parameter of each command is for. I enjoy helping people, but not when they have a nasty attitude

Check some tutorials, take a nap, then try to figure out one simple camera command.
Sorry for that rant, but I found this thread annoying.
DDD tried to help, even gave you some code and the command that he used. Go through his code, looking at each line, and figure out what is does. Then work on a camera to follow your car. Then come back and tell us you figured it out yourself.
If all else fails, use this code:
Rem Setup sync rate
Sync On
Sync Rate 30
Rem Create sphere
load object "c:cube.x",1
Rem Main loop
Do
Rem Store the object's Y angle in aY#
aY# = Object angle Y(1)
Rem Control input
If Upkey()=1 then Move object 1,2
If Leftkey()=1 then aY# = Wrapvalue(aY#-5)
If Rightkey()=1 then aY# = Wrapvalue(aY#+5)
Rem rotate the sphere
Yrotate object 1,aY#
position camera object position x(1)-sin(ay#)*25.0,object position y(1)+15.0,object position z(1)-cos(ay#)*25.0
point camera object position x(1),object position y(1),object position z(1)
Rem Refresh Screen
Sync
Loop
Xander Moser of Bolt Software
Firewall: Your Computer's First Defense - Real Time Strategy game
[href]

[/href]