{ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA } unit Strings; interface const CR = #13; LF = #10; BS = #8; F1 = #187; F2 = #188; F3 = #189; F4 = #190; F5 = #191; F6 = #192; F7 = #193; F8 = #194; F9 = #195; F10 = #196; C_up = #200; C_dn = #208; C_lt = #203; C_rt = #205; Endk = #207; Home = #199; PgDn = #209; PgUp = #201; Del = #211; Ins = #210; AltX = #173; function GetKey: char; implementation uses CRT; function GetKey: char; var Ch: char; begin Ch := ReadKey; if Ch = #0 then begin Ch := ReadKey; Ch := chr(ord(Ch) + 128); end; GetKey := Ch; end; begin end.