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.

Newcomers DBPro Corner / why doesn't this code work?

Author
Message
mbaucco
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 7th Nov 2005 00:41
this code worked for a while then stopped, I am a little concerned...

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Nov 2005 00:54
You had an "n" in front of your tree height variables.



mbaucco
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 7th Nov 2005 00:57
yep, saw that and fixed it, it still does not work
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 7th Nov 2005 01:43
Whew... I thought you were TDK.

Did you take out both of them or just one "n"?
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Nov 2005 03:03
Yeah code works here (at least the way it is programmed to work).

mbaucco
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 7th Nov 2005 22:52
Oddly, it started working when I put it in the main body of the program rather than trying to use it in a function. Also, I never got any errors while it wasn't working, the exe would build and it just wouldn't work the way I expected. The really weird thing was that it was working for a while, then stopped.

Are there memory leaks or anything like that I need to be aware of? I have noticed the dbpro ide doing some weird stuff from time to time.

Thanks,
Matt

Login to post a reply

Server time is: 2024-11-27 14:36:17
Your offset time is: 2024-11-27 14:36:17