You can create objects with the newformobject statement. You can specify all of its properties. To get an idea of what the properties can look like, use the Blueprint icon and show the blueprint for an object when you are in Graphics Mode. You can tweak a blueprint and use that to create a procedure to create a new object. You don’t need to use the entire list of properties, just use the ones that you want to control; the others will be set by default.
You can use the changeobject statement to rename objects. If you have five objects named blertName, this code will rename > them blert001, blert002, etc.
fileglobal fgobjectnumber
fgobjectnumber=0
loop
fgobjectnumber=fgobjectnumber+1
changeobject “blertName”,“name”,“blert”+pattern(fgobjectnumber,“###”)
until 5