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 Professional Discussion / Odd issue :-(. Variables getting reset?

Author
Message
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 28th May 2003 01:31
Hello all... yet another problem here, sorry . I have a feeling this is a whole lot more likely to be a problem with my code than a bug or issue with the compiler though.

I have the following code inside my loop:

for t=1 to 19
if object position x(1000)=>doors(t,0)-150
if object position x(1000)=doors(t,1)-150
if object position z(1000)=
--Mouse

Famous Fighting Furball
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 28th May 2003 01:33
Wow, the post got chopped. Should have added a Code Snippit box.

Well I just found out that I hadn't set the array up properly. A million runs over my main loop but I didn't look at this. Talk about stupidity

Well, at least it's working now

--Mouse

Famous Fighting Furball

Login to post a reply

Server time is: 2026-07-11 19:05:38
Your offset time is: 2026-07-11 19:05:38