DELETE OBJECTS This command will delete a group of objects between the two specified values, inclusively, and is faster than deleting the range of objects individually.
Syntax
    DELETE OBJECTS From, To
Parameters
    From
Integer The first object number
    To
Integer The last object number
Returns
This command does not return a value.
Description
If you used the SET GLOBAL OBJECT CREATION command to share vertex buffers, this command takes considerably longer as it disentangles itself from existing buffers.
Example Code
    backdrop off

    set global object creation 0

    for o=1 to 10000

     make object cube o,10

    next o

    sync

    t=timer()

    delete objects 1,10000

    print timer()-t;"ms - press a key"

    wait key

    set global object creation 1

    for o=1 to 10000

     make object cube o,10

    next o

    sync

    t=timer()

    delete objects 1,10000

    print timer()-t;"ms - press a key"

    wait key
See also
BASIC3D Commands Menu Index