I Wouldn't Continuously generate them as you would run out of memory quite quick.Try Something Like:
FOR i=1 TO 10
MAKE OBJECT CUBE i,30
POSITION OBJECT i,RND(1000),RND(100),RND(1000)
NEXT i
Or if You know the positions of where you want your platforms try this
DIM coords(2)
FOR i=1 TO 10
MAKE OBJECT CUBE i,30
FOR n=0 TO 2
READ coords(n)
NEXT n
POSITION OBJECT i,RND(1000),RND(100),RND(1000)
NEXT i
REM x y z
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
DATA "0,0,0"
EACH of those would create 10 cubes the first one at random locations, and the second one would read the co-ordinates from the DATA statements hope this is of some help