HP3000-L Archives

September 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John MacLerran <[log in to unmask]>
Reply To:
John MacLerran <[log in to unmask]>
Date:
Thu, 6 Sep 2001 11:15:25 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Hi Wesley,

How about this:


input dummy;prompt="Press a key to continue";readcnt=1
deletevar dummy

The readcnt=1 parameter tells the input command to read only one character from the
keyboard. It can be any character, space bar included, any function key, or the
return key. (The special keys -- arrows, shift, ctrl, etc. won't work.)

Enjoy!

Wesley Setree wrote:

> How do I set up "press any key to continue" in a command file? In the menu that
> most of our users log on to, we use   ?press any key to continue?  after they
> have entered a printer number, report name, etc. to give them options for using
> different output devices. It then returns them to their menu to continue with
> other options. I want to send a message to the users, but I want them to read it
> first. Which means I want to force them to hit a key in order to get them back
> to their menu, or prompt, etc.  Of course we all heard the old saying, "but I
> didn't see any message"... (use your best whiny voice). TIA
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

--
----------------------------------------------------------------------
  John MacLerran
  IT Systems Analyst                       email:   [log in to unmask]
  Idaho State University                             V(208) 282-2954
  http://www.isu.edu/~macljohn                       F(208) 282-3673
----------------------------------------------------------------------

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2