Frequently Asked Questions

Runtime error 7007 object already exists at line (number)
This error results when a student is loading an object with the same ID number as a previous object. For example this simple 2 line program will generate the same error.

Make Object Cube 1, 15
Make Object Cube 1, 30


You will notice that both these lines have the value 1, this is the Object Identification number. This must be different from all others.

To fix the above program you can do this:

Make Object Cube 1, 15
Make Object Cube 2, 30


If you enter that code into the language and compile, you will just get a brief window flash (because we don't do anything with the objects other than create them and when the instructions run out the program just ends).

The same situation can happen if the student confuses variables. For example of they type in something like:

Player = 1
Enemy = 2

Make Object Cube Player, 15
Make Object Cube Player, 30


Then this will generate the same error message. It's an easy mistake to make, and I've done this sort of thing myself several times in the past. The fix for that example is fairly simple.

Player = 1
Enemy = 2

Make Object Cube Player, 15
Make Object Cube Enemy, 30

Another thing too look out for, is repeated values in these variables. For example:

Player = 1
Enemy = 1

Make Object Cube Player, 15
Make Object Cube Enemy, 30


In the above example, the objects have unique variables, but I've accidentally duplicated 1 for both variables.

These are the common mistakes made that generate thisĀ error code.


 Last updated Tue, Oct 27 2015 2:20am

Please Wait!

Please wait... it will take a second!