mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-25 11:58:17 +02:00
pastojs: checked writeln
git-svn-id: trunk@40495 -
This commit is contained in:
parent
ca95175b1a
commit
1e15e35eab
@ -211,8 +211,7 @@ begin
|
|||||||
if RaiseOnError then
|
if RaiseOnError then
|
||||||
Raise EFileNotFoundError.Create('File not loaded '+FileName)
|
Raise EFileNotFoundError.Create('File not loaded '+FileName)
|
||||||
{$IFDEF VERBOSEWEBCACHE}
|
{$IFDEF VERBOSEWEBCACHE}
|
||||||
else
|
else Writeln('File not loaded '+FileName);
|
||||||
Writeln('File not loaded '+FileName);
|
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -451,7 +450,9 @@ begin
|
|||||||
for I:=0 to MS.Length-1 do
|
for I:=0 to MS.Length-1 do
|
||||||
begin
|
begin
|
||||||
v:=MS[i];
|
v:=MS[i];
|
||||||
|
{AllowWriteln}
|
||||||
Writeln('Char ',i,'(',v,') : ',TJSString.fromCharCode(v));
|
Writeln('Char ',i,'(',v,') : ',TJSString.fromCharCode(v));
|
||||||
|
{AllowWriteln-}
|
||||||
aContent:=aContent+TJSString.fromCharCode(MS[i]);
|
aContent:=aContent+TJSString.fromCharCode(MS[i]);
|
||||||
end;
|
end;
|
||||||
SetFileContent(FileName,aContent);
|
SetFileContent(FileName,aContent);
|
||||||
|
Loading…
Reference in New Issue
Block a user