Consider using...

        input Ans, 1

The effect of the ", 1" input will look for a single keystroke.

--Bill

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Ferries
Sent: Tuesday, April 29, 2008 3:46 PM
To: [email protected]
Subject: [U2] Press any key to continue...


Hi All,

We were coding a standard INPUT ANS after asking a user to "Press any
key to continue...". We noticed that the program would not accept a
Space Bar as a valid key; it only moves the cursor to the right.

However, the Press any key to continue... message from UniVerse accepts
the Space Bar as a valid key.
Can someone shed any light on how this prompt works? We know the magic
command to suppress the message: UDUMY = @(0), but we are more
interested in why the INPUT command does not treat the space as the
UniVerse message does.

Thanks

Steve

Steve Ferries
Vice President Information Technologies
Total Credit Recovery Limited
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to