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 / What's wrong with this loop?

Author
Message
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 2nd Mar 2004 04:56
hmm... can anyone figure out wats wrong with this code? it seems to be in some sort of infinit loop.

usually:
stats$(1) = stats$(count2) + stats$(5)
causes the program to fall into some sort of loop or freeze or something, cause everything locks up. but if the code is
stats$(1) = stats$(count2), stats$(5)
then it is fine... but doesnt do wat it is supposed to.

the algorithm is to pull out 1 letter at a time and join them into different strings. The signal to change strings is a , and the data is stored like - "1","32","2332","Test"
etc.
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 2nd Mar 2004 05:07
oops wrong code sorry.
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 2nd Mar 2004 05:22
nevermind. lol. problem solved. i was getting a character from a string, putting it into the same string, and going to the next letter of the string... making it an infinit string
sorry. does someone wanna delete this post?

Login to post a reply

Server time is: 2024-11-26 07:27:13
Your offset time is: 2024-11-26 07:27:13