mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 17:09:38 +01:00
parent
4c0807c596
commit
e5fba07668
@ -42,13 +42,13 @@ end;
|
|||||||
|
|
||||||
{ //!! is used to mark unsupported things. }
|
{ //!! is used to mark unsupported things. }
|
||||||
|
|
||||||
Function QuoteString (Const S : String; Quote : String) : String;
|
Function QuoteString (Const S : String; Const Quote : String) : String;
|
||||||
Var
|
Var
|
||||||
I,J : Integer;
|
I,J : Integer;
|
||||||
begin
|
begin
|
||||||
J:=0;
|
J:=0;
|
||||||
Result:=S;
|
Result:=S;
|
||||||
for i:=1to length(s) do
|
for i:=1 to length(s) do
|
||||||
begin
|
begin
|
||||||
inc(j);
|
inc(j);
|
||||||
if S[i]=Quote then
|
if S[i]=Quote then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user