Jump to content
Sign in to follow this  
c4mpi

Why does this code fail?

Recommended Posts

c4mpi

dsf

Edited by c4mpi

Share this post


Link to post
Share on other sites
Fulano

First off, bots were nixed in a recent announcement - so you need to abstract this out to the point were we can help you.

That being said:

This code is redundant, TimerInit() just grabs a timestamp, and so at this point all three are nearly equal to each other.

Global $timer = TimerInit()
Global $timer2 = TimerInit()
Global $timer3 = TimerInit()

This is a problem too:

While 1000000

While doesn't count down, so if you want to set up an infinite loop use something like this:

While True

But if you want to run something a certain number of times, try this:

For $i = 0 to 1000000
Edited by Fulano

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Share this post


Link to post
Share on other sites
c4mpi

Thanks but still not fixed

Edited by c4mpi

Share this post


Link to post
Share on other sites
Fulano

First off, bots were nixed in a recent announcement - so you need to abstract this out to the point were we can help you.

Translation: We can't help you do this.


#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×