RE: [U2] Input Mask

2006-08-08 Thread Allen E. Elwood
Hi Bill, This is what I use, written in mvBase. I think all that would need to be changed for U2 would be the IN CH.VAL be changed to CH.VAL = SEQ(IN()) but have never tried it in U2... This routine allows the person to use the backspace, and will instantly abort if they hit the ESC key or type

RE: [U2] Input Mask

2006-08-08 Thread Brian Leach
:03 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Input Mask Hi Bill, This is what I use, written in mvBase. I think all that would need to be changed for U2 would be the IN CH.VAL be changed to CH.VAL = SEQ(IN()) but have never tried it in U2... This routine allows the person

RE: [U2] Input Mask

2006-08-08 Thread Brutzman, Bill
@listserver.u2ug.org Subject: Re: [U2] Input Mask ECHO OFF INDATA = '' LOOP INPUT X,1: UNTIL X = '' DO INDATA := X CRT '*': REPEAT ECHO ON Richard Brown - Original Message - From: Brutzman, Bill [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Tuesday, August 08, 2006 10:54 AM Subject: [U2

RE: [U2] Input Mask

2006-08-08 Thread Bob Woodward
Isn't that similar to the ECHO OFF/ON command in UV? BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill Sent: Tuesday, August 08, 2006 9:38 AM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Input Mask The answer to my own

RE: [U2] Input Mask

2006-08-08 Thread Barry Brevik
Depending on the emulator, you need to be wary of multi-byte keycodes which are used for function keys and such. These multi-byte keycodes will begin with either CHAR(2) or CHAR(27) (for example), but can be followed by what are otherwise printable characters. If you do not filter them, you