Re: press any key

2003-03-19 Thread John W. Krahn
James Kipp wrote: > > > > Quite a simple request, but I've had trouble finding an answer. > > > > > > I'd like my program to wait until the user presses any key, and then > > > just continue. Is there an easy way to do this? A way without > > > modules? > > > > This will do the trick: > > > >

Re: press any key

2003-03-19 Thread Nigel Wetters
On Wednesday 19 March 2003 10:24, Nick Drage wrote: > Quite a simple request, but I've had trouble finding an answer. Not a simple request, I'm afraid. Niether using getc, nor reading will work unless the user presses 'enter'. > I'd like my program to wait until the user presses any key, and th

RE: press any key

2003-03-19 Thread Kipp, James
> > Quite a simple request, but I've had trouble finding an answer. > > > > I'd like my program to wait until the user presses any key, and then > > just continue. Is there an easy way to do this? A way without > > modules? > > Hi Nick. > > This will do the trick: > > while (1) { >

Re: press any key

2003-03-19 Thread Rob Dixon
Nick Drage wrote: > Hi, > > Quite a simple request, but I've had trouble finding an answer. > > I'd like my program to wait until the user presses any key, and then > just continue. Is there an easy way to do this? A way without > modules? Hi Nick. This will do the trick: while (1) {

RE: Press any key to continue...

2002-01-24 Thread Bob Showalter
> -Original Message- > From: Dmitri Zakharov [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 23, 2002 2:47 PM > To: [EMAIL PROTECTED] > Subject: Press any key to continue... > > > Hi everybody; > > Here's a perl newbie problem: > I'm wondering how could I suspend the execution of

RE: Press any key to continue...

2002-01-24 Thread John Edwards
Is this on windows?? If so: system("pause"); HTH John -Original Message- From: Dmitri Zakharov [mailto:[EMAIL PROTECTED]] Sent: 23 January 2002 19:47 To: [EMAIL PROTECTED] Subject: Press any key to continue... Hi everybody; Here's a perl newbie problem: I'm wondering how could I su