Yup, esc is definitely char 27.

Allen E. Elwood www.tortillafc.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Harry Hambrick
Sent: Monday, December 19, 2005 10:34
To: [email protected]
Subject: RE: [U2] Using Esc


An escape is char(27) isn't it?   A char(251) is a start buffer.

Harry Hambrick
Geac Public Safety

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Monday, December 19, 2005 1:23 PM
To: '[email protected]'
Subject: [U2] Using Esc

I am trying to add functionality for the Escape Key in UniBasic program
for
end-users to edit record data
with Dynamic Connect and UV.  Terminal emulation is AddsVP moving to
VT-100.

The following code does not behave as intended.  

  Esc = char(251)

  begin case
        case Ans = ''   ;  null
        case Ans = Esc  ;  return
  end   case

On the screen displays the characters...    ^[      appear.

Suggestions would be appreciated.

--Bill
-------
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/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to