Try using CHAR(27), which is the escape key by default.
   Regards,

   LeRoy F. Dreyfuss
   Product Manager
   IBM UniVerse and UniData (U2) Extended Relational Databases
   [cid:_2_103D8C40103D89EC006797D3872570DC]     Information   Management
   Software

   Tel: 303-773-7783          Fax: 303-773-5915
   Mobile: 720-341-4317   Tie-line: 656-7783
   External email:  [EMAIL PROTECTED]
   WWW:  http://www.ibm.com/software/data/u2

   "Brutzman, Bill" <[EMAIL PROTECTED]>
   Sent by: [EMAIL PROTECTED]

   12/19/2005 11:22 AM

                             Please respond to
                        [email protected]

                                                                       To

   "'[email protected]'" <[email protected]>

                                                                       cc

                                                                  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/

[demime 1.01d removed an attachment of type image/jpeg]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to