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 / tw19851a.pp
Size: Mime:
{ %norun }
{ Test seeking in TIOStream.

  !!! Input to standard in must begin with:
  abcdefghijklmnopqrstuvwxyz1*
  where * represents optional additional characters (can be anything).

  !!! It is recommended that this be tested interactively from the keyboard too. Run the
  test program, type the test string, and press Enter.

  See ExerciseStream.pas for exit codes.
}

{$mode objfpc}{$H+}

program tiostreamseek;

uses
  iostream,
  uw19851;

var
  AIOStream: TIOStream;

begin
  AIOStream := TIOStream.Create(iosInput);
  try
    ExitCode := Test(AIOStream);
  finally
    AIOStream.Free;
  end;
end.