sourcestream:tstream;\r
destroysourcestream:boolean;\r
constructor create(asourcestream: tstream; adestroysourcestream:boolean);\r
- constructor createf(filename : string);\r
+ constructor createf(filename : ansistring);\r
\r
- function readline:string;\r
+ function readline:ansistring;\r
function eof:boolean;\r
destructor destroy; override;\r
private\r
destroysourcestream := false;\r
end;\r
\r
-constructor treadtxt.createf(filename : string);\r
+constructor treadtxt.createf(filename : ansistring);\r
begin\r
create(tfilestream.create(filename,fmOpenRead),true);\r
end;\r