Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Objects already exists...........not really

Author
Message
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 30th Jun 2006 03:51


When I run this code it says Run time error. object already exists. what am I doing wrong?

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 30th Jun 2006 04:00
You already made an object in slot 3 (the sphere), so you can't make a cube in that same numerical slot.

Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 30th Jun 2006 04:03
You made object 3 on line 4 of your program.

Then you do this:

for N = 1 to 100

So what do you think will happen when N reaches the number 3?

Bite my shiny metal ass
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 30th Jun 2006 04:09
Ah. stupid me.

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack

Login to post a reply

Server time is: 2025-05-25 01:50:06
Your offset time is: 2025-05-25 01:50:06