Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / tw1228.pp
Size: Mime:
{ %INTERACTIVE }

{ Source provided for Free Pascal Bug Report 1228 }
{ Submitted by "Rich Pasco" on  2000-11-10 }
{ e-mail: pasco@acm.org }
uses
  CRT;
var
  k: char;
begin
  WriteLn('Type a few words.  Hit Enter to quit:');
  repeat
    delay(400);
    k := ReadKey;
    if k=#0 then Readkey (* discard second half of function keys *)
    else write(K) (* but echo ASCII to screen *)
  until k=#$0D;   (* terminate with ENTER key *)
end.