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 / Code Optimization

Author
Message
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 1st May 2005 16:16
This code runs extremely slow and im wondering how i could make it faster. Also, the second input puts a "*" on it even if the key is the return key or something...how could i fix this too?

CODE:


Digitalmodr
Coder_David
[Apolloed ]
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st May 2005 16:45 Edited at: 1st May 2005 16:47
that code runs at 999 fps here and to make keys you don't want to make * not do that, change over to clearing the entry buffer every loop and save the old buffer to a string variable and keep adding them. This way you can filter out the ones you don't want.

Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 1st May 2005 23:18
Ok then, another question:


This code compiles just fine, but for some reason it refuses to create the file on the local machine OR upload it to the server. I can't see why it would not be working as the code looks just fine to me. Any idea?

Digitalmodr
Coder_David
[Apolloed ]
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 2nd May 2005 00:41
Ok, I narrowed the problem down a bit. I made some test code, this will not work because of something in this code:



What am i doing wrong?

Digitalmodr
Coder_David
[Apolloed ]
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 5th May 2005 10:44
Narrow it down more...to a single line. might look at it ltr.

[me]"My throat froze!"
[other person]"Force quit it next time..."
A.K.A Death Stalker

Login to post a reply

Server time is: 2024-09-23 19:23:16
Your offset time is: 2024-09-23 19:23:16