if you make a function to find a free object then you could use that as a variable, i.e.:
FreeObj()
for i=1 to 65535
if object exist(i)=0
exitfunction i
endif
next i
endfunction i
That would get the free object number, then:
This_Is_An_Object=FreeObject()
Make Object Cube This_Is_An_Object,100
That also means that you wont get stuck with any "Object Already Exists" errors
And also I would recommend you use Mr. X's idea along with this so you dont have to keep naming the objects different names:
Dim Obj_Name(10)
for o=1 to 10
Obj_Name(o)=FreeObject()
Make Object Cube Obj_Name(o),100
next o
[Edit]
@Gil
That's kinda pointless, because if you can bother calling them Object1, Object2, etc, you're aswell numbering the objects..