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 / I tried everything to my knowledge, but now im stumped. :(

Author
Message
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 18th Jul 2004 14:02
This is a simple program that keeps incrementing numbers, and so on, to give the illusion of scaning a computer.

I wanted after a certain amount of time, be able to cls the screen and print "scan complete." but for some reason it does not work. I think im missing a variable, or maybe something else? take a look at it below.

Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 18th Jul 2004 14:15 Edited at: 19th Jul 2004 13:37
I looked at your code, and this is what I saw:

The program will only print "Scan Complete" every five seconds, then, it will just keep on going until five seconds later, it will print it again. What you need to do is break out of the loop to complete the scan. Something like this:



(I also added manual syncing, it is much more efficient)
(Also, it is spelled "scanning", just so you know)

Xander Moser of Bolt Software
Firewall: Your Computer's First Defense - Real Time Strategy game
[href][/href]
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 18th Jul 2004 14:58
Im glad to have people like you helping me bolt. much thanks

Login to post a reply

Server time is: 2024-09-22 17:41:17
Your offset time is: 2024-09-22 17:41:17