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.

Dark GDK / dbDeleteObject , dbDelete , dbHideObject

Author
Message
Sausen Kenny
15
Years of Service
User Offline
Joined: 4th Oct 2008
Location:
Posted: 2nd Dec 2008 21:30
i just wanna ask if this functions works fine....

please take a look at my code

int DelAll;

for(DelAll = 1 ; DelAll < 10000 , DelAll++)
{
dbHideObject (DelAll); //hide object first before
dbDeleteObject(DelAll); //deleting
}

did it right??
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 3rd Dec 2008 01:55
You don't have to hide the object to delete it.

SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 3rd Dec 2008 03:53
You might want to check if the object actually exists before you delete it.




My site, for various stuff that I make.
Sausen Kenny
15
Years of Service
User Offline
Joined: 4th Oct 2008
Location:
Posted: 7th Dec 2008 21:10
*Slayer93* i need to hide the object first before deleting so it wouldnt take too much memory....


*SunDawg* thanks, gonna try this piece now...

Login to post a reply

Server time is: 2024-09-30 11:35:19
Your offset time is: 2024-09-30 11:35:19