Re: timer/display-DISPLAY WORKING;THANKS

2001-07-10 Thread Rogério Brito
On Jul 09 2001, [EMAIL PROTECTED] wrote: > while (1) { > print $chars[$i++], "\r"; > select(undef, undef, undef, PAUSE); > } The index of the array/list should be ($i++)%@chars instead, so that it does not get out of bounds. []s, Roger... -- =-=-=-=

Re: timer/display-DISPLAY WORKING;THANKS

2001-07-09 Thread Jeff 'japhy' Pinyan
On Jul 9, [EMAIL PROTECTED] said: >I don't fully understand why yet; that select(undefPAUSE) thing eludes >me, but I'll hit the books tonight. > select(undef, undef, undef, PAUSE); The docs for 4-arg select() have an example which you should take a look at. 4-arg select() is used for

RE: timer/display-DISPLAY WORKING;THANKS

2001-07-09 Thread Wagner-David
-DISPLAY WORKING;THANKS I don't fully understand why yet; that select(undefPAUSE) thing eludes me, but I'll hit the books tonight. -John Jeff 'japhy' Pinyan To: [EMAIL PROTECTED]

Re: timer/display-DISPLAY WORKING;THANKS

2001-07-09 Thread GoodleafJ
I don't fully understand why yet; that select(undefPAUSE) thing eludes me, but I'll hit the books tonight. -John Jeff 'japhy'