mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 04:39:38 +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
|
||||
Raise EFileNotFoundError.Create('File not loaded '+FileName)
|
||||
{$IFDEF VERBOSEWEBCACHE}
|
||||
else
|
||||
Writeln('File not loaded '+FileName);
|
||||
else Writeln('File not loaded '+FileName);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
@ -451,7 +450,9 @@ begin
|
||||
for I:=0 to MS.Length-1 do
|
||||
begin
|
||||
v:=MS[i];
|
||||
{AllowWriteln}
|
||||
Writeln('Char ',i,'(',v,') : ',TJSString.fromCharCode(v));
|
||||
{AllowWriteln-}
|
||||
aContent:=aContent+TJSString.fromCharCode(MS[i]);
|
||||
end;
|
||||
SetFileContent(FileName,aContent);
|
||||
|
Loading…
Reference in New Issue
Block a user