Pan Camera? That's simple. Have a look at the CURVEVALUE and CURVEANGLE commands. You can use these to "curve" the camera's position and angle from one point to another. I made a function out of it. If you don't understand functions then you can read this:
Function Tutorial
Anyway, here is the function:
rem Declare our function
Function PanCamera(Cam,XP#,YP#,ZP#,XA,YA,ZA,STEPS)
remstart
CAM=Camera number
XP#=X position destination
YP#=Y position destination
ZP#=Z position destination
XA=X angle destination
YA=Y angle destination
ZA=Z angle destination
STEPS=The amount of steps that it takes to reach the destination.
remend
rem Slowly curve the camera's X position the the destination spot. The speed of this curve is based on the variable STEPS.
cx#=Curvevalue(XP#,Camera Position x(CAM),STEPS)
rem Slowly curve the Camera's Y position to the destination spot. The speed of this curve is based on the variable STEPS.
cy#=Curvevalue(yP#,Camera Position y(CAM),STEPS)
rem slowly curve the Z position to the destination spot. The speed of this curve is based on the variable STEPS.
cz#=Curvevalue(zP#,Camera Position z(CAM),STEPS)
rem Do the same for the camera's angles.
cax#=Curveangle(XA,Camera Angle X(CAM),STEPS)
cay#=Curveangle(yA,Camera Angle y(CAM),STEPS)
caz#=Curveangle(zA,Camera Angle z(CAM),STEPS)
rem And update the camera to these positions.
rotate camera CAM,cax#,cay#,caz#
Position Camera CAM,cx#,cy#,cz#
endfunction
And here's an example. Press space to randomly pan the camera.:
rem Setup Game
sync on
sync rate 0
autocam off
rem Create a matrix for a sense of direction.
Make MAtrix 1,10000,10000,60,60
rem Randomize the matrix.
randomize matrix 1,100
rem Now update it.
update matrix 1
rem Create an image for the matrix.
create bitmap 1,10,10
for d = 1 to 1000
ink rgb(0,rnd(255),0),0
dot rnd(10),rnd(10)
next d
blur bitmap 1,6
get image 1,0,0,10,10
delete bitmap 1
rem Put the image on the matrix
prepare matrix texture 1,1,1,1
rem Set the range of the camera to pretty far.
set camera range 1,10000
rem put the camera someplace to start.
position camera 0,900,0
do
rem Call the PanCamera function.
PanCamera(0,x,y,z,45,ya,0,100)
rem If the spacebar is pressed, then randomize the camera's destination.
if spacekey() and KEY=0 then x=rnd(10000) : y=rnd(5000) : z=rnd(10000) : ya=rnd(360)
rem Tell if the spacebar has been pressed yet.
KEY=Spacekey()
rem Update Screen
sync
rem End loop
loop
rem Declare our function
Function PanCamera(Cam,XP#,YP#,ZP#,XA,YA,ZA,STEPS)
remstart
CAM=Camera number
XP#=X position destination
YP#=Y position destination
ZP#=Z position destination
XA=X angle destination
YA=Y angle destination
ZA=Z angle destination
STEPS=The amount of steps that it takes to reach the destination.
remend
rem Slowly curve the camera's X position the the destination spot. The speed of this curve is based on the variable STEPS.
cx#=Curvevalue(XP#,Camera Position x(CAM),STEPS)
rem Slowly curve the Camera's Y position to the destination spot. The speed of this curve is based on the variable STEPS.
cy#=Curvevalue(yP#,Camera Position y(CAM),STEPS)
rem slowly curve the Z position to the destination spot. The speed of this curve is based on the variable STEPS.
cz#=Curvevalue(zP#,Camera Position z(CAM),STEPS)
rem Do the same for the camera's angles.
cax#=Curveangle(XA,Camera Angle X(CAM),STEPS)
cay#=Curveangle(yA,Camera Angle y(CAM),STEPS)
caz#=Curveangle(zA,Camera Angle z(CAM),STEPS)
rem And update the camera to these positions.
rotate camera CAM,cax#,cay#,caz#
Position Camera CAM,cx#,cy#,cz#
endfunction
EDIT: OOOOOPS THAT WILL ONLY WORK IN DBPRO!!!!!!!!!!!!!
I now realize you probably meant the other kind of camera panning

So I will demonstrate that for you in a bit. It's MUCH simpler than this.