mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:14:25 +02:00
* In view of recent bug, use traditional for i:=Low() to High instead of for in
git-svn-id: trunk@27090 -
This commit is contained in:
parent
742c590a3a
commit
c07559bbd1
@ -1204,6 +1204,7 @@ end;
|
|||||||
Function TTextWriter.Write(Const Args: Array of const) : Integer;
|
Function TTextWriter.Write(Const Args: Array of const) : Integer;
|
||||||
|
|
||||||
Var
|
Var
|
||||||
|
I : Integer;
|
||||||
V : TVarRec;
|
V : TVarRec;
|
||||||
S : String;
|
S : String;
|
||||||
U : UnicodeString;
|
U : UnicodeString;
|
||||||
@ -1211,8 +1212,9 @@ Var
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
Result:=0;
|
Result:=0;
|
||||||
For V in Args do
|
For I:=Low(Args) to High(Args) do
|
||||||
begin
|
begin
|
||||||
|
V:=Args[i];
|
||||||
S:='';
|
S:='';
|
||||||
U:='';
|
U:='';
|
||||||
case V.VType of
|
case V.VType of
|
||||||
|
Loading…
Reference in New Issue
Block a user