This commit is contained in:
Massimo Melina 2020-05-10 20:26:56 +02:00
parent 9d65d35c3c
commit 4b16de3fb7
2 changed files with 692 additions and 705 deletions

1390
hfs.drc

File diff suppressed because it is too large Load Diff

View File

@ -929,12 +929,7 @@ result:=(fn > '')
end;
function loadTextFile(fn:string):string;
begin
try result:=IOUtils.TFile.ReadAllText(fn)
except result:='' end;
try result:=UTF8decode(result)
except end;
end;
begin result:=UTF8decode(loadfile(fn)) end;
function loadFile(fn:string; from:int64=0; size:int64=-1):ansistring;
var