No problem ill rem it and post it back here in a few minuets.
EDIT:
Ok here it is in all of its remarked cube moving glory:
Rem Project: movingcube
Rem Created: Thursday, March 31, 2011
Rem ***** Main Source File *****
`setup sync:
SYNC ON
SYNC RATE 30
`make out object
MAKE OBJECT cube 1,1
`make a variable to store out direction and set it to one
direction = 1
do `this is our "main loop" (were the magic happens)
`display the x,y and z on-screen
text 0,0,str$(OBJECT POSITION X(1))
text 0,10,str$(OBJECT POSITION y(1))
text 0,20,str$(OBJECT POSITION z(1))
`check if the x position (left/right axis) is bigger than 1.5 if it is then switch direction to 2
if OBJECT POSITION X(1) > 1.5 then direction = 2
`check if the x position (left/right axis) is smaller than -1.5 if it is then switch direction to 1
if OBJECT POSITION X(1) < -1.5 then direction = 1
`check if the direction variable is 1 if it is then position the object in the current xyz but add 1.5
`to the x position to get it to move forward along th x axis.
if direction = 1
position object 1,OBJECT POSITION X(1)+0.05,OBJECT POSITION y(1),OBJECT POSITION z(1)
endif
`check if the direction variable is 2 if it is then position the object in the current xyz but subtract 1.5
`from the x position to get it to move backwards along the x axis.
if direction = 2
position object 1,OBJECT POSITION X(1)-0.05,OBJECT POSITION y(1),OBJECT POSITION z(1)
ENDIF
`sync it so it displays what we've done on the screen
sync
LOOP
If you still don't understand a part feel free to ask me

My software never has bugs, it just develops random features.
C4: silly putty for men.