Re: Run once while loop

2012-04-04 Thread Benjamin Kaplan
On Wed, Apr 4, 2012 at 9:21 AM, Anatoli Hristov wrote: > I thing the best will be if I use hundreds of the seconds to print the > message. > > for example at 12:00:00:10, but unfortunately I cant see that I can use > hundreds of the seconds. > > Does anyone knows if I can use it ? > > Thanks > > A

Re: Run once while loop

2012-04-04 Thread Anatoli Hristov
I thing the best will be if I use hundreds of the seconds to print the message. for example at 12:00:00:10, but unfortunately I cant see that I can use hundreds of the seconds. Does anyone knows if I can use it ? Thanks Anatoli On Wed, Apr 4, 2012 at 2:25 PM, John O'Hagan wrote: > On Tue, 3

Re: Run once while loop

2012-04-04 Thread John O'Hagan
On Tue, 3 Apr 2012 23:00:22 +0200 Anatoli Hristov wrote: > On 03 Apr 2012, at 22:45, Ian Kelly wrote: > > > On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote: > >> Hi, > >> > >> I'm trying to do a while loop with condition of time if time is > >> 12:00:00 print text, but for this one secon

Re: Run once while loop

2012-04-03 Thread Ian Kelly
On Tue, Apr 3, 2012 at 3:00 PM, Anatoli Hristov wrote: > On 03 Apr 2012, at 22:45, Ian Kelly wrote: > >> On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote: >>> Hi, >>> >>> I'm trying to do a while loop with condition of time if time is >>> 12:00:00 print text, but for this one second the tex

Re: Run once while loop

2012-04-03 Thread Anatoli Hristov
On 03 Apr 2012, at 22:45, Ian Kelly wrote: > On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote: >> Hi, >> >> I'm trying to do a while loop with condition of time if time is >> 12:00:00 print text, but for this one second the text is printed at >> least 50 times, how can I print only once? >

Re: Run once while loop

2012-04-03 Thread Ian Kelly
On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote: > Hi, > > I'm trying to do a while loop with condition of time if time is > 12:00:00 print text, but for this one second the text is printed at > least 50 times, how can I print only once? Set a flag when you print the text to indicate that y