Browse Source

* Add EndOfStream property for Delphi compatibility

Michaël Van Canneyt 1 year ago
parent
commit
ef688a3785
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-base/src/streamex.pp

+ 1 - 0
packages/fcl-base/src/streamex.pp

@@ -102,6 +102,7 @@ type
      procedure ReadLine(out AString: AnsiString); virtual; abstract; overload;
      function ReadLine: AnsiString; overload;
      property Eof: Boolean read IsEof;
+     property EndOfStream : boolean read IsEof;
    end;
 
    { TStreamReader }