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.

Author
Message
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 31st Mar 2011 00:37
When i try to delete an object that exist using "Delete Object 1", it works!

But!

When i do this:

Object does not delete nor does the program give an error.
Val(libO(1).ID) = 10 BTW i've checked..

ID Has been declared in a type as DWORD(Prob should be integer but i don't think it should matter)

bchaos101
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 31st Mar 2011 02:32
If libO(1).id is a dword, then drop the VAL() statement and see what happens.

The only reason to use VAL is if libO(1).id is a string.

BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 31st Mar 2011 02:41
Sorry i was supposed to write libO(1).id = "10" So it is declared as String?

bchaos101
SH4773R
16
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 31st Mar 2011 03:20
What about this?




My software never has bugs, it just develops random features.
C4: silly putty for men.
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 31st Mar 2011 03:22
I just re-read your first post and saw this..

Quote: "ID Has been declared in a type as DWORD"


So you really don't need the VAL statement.

Not sure if that will fix the problem, but it couldn't hurt.

BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 31st Mar 2011 03:22
OK i found the problem! I was changing the variable type with a different value before i was using it.

Thanks anyway

bchaos101

Login to post a reply

Server time is: 2026-07-11 14:57:07
Your offset time is: 2026-07-11 14:57:07