|
@@ -109,8 +109,8 @@ Var
|
|
|
|
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{ Untyped file support }
|
|
{ Untyped file support }
|
|
- Procedure AssignFile(out f:File;p:pchar);
|
|
|
|
- Procedure AssignFile(out f:File;c:char);
|
|
|
|
|
|
+ Procedure AssignFile(out f:File;p:PAnsiChar);
|
|
|
|
+ Procedure AssignFile(out f:File;c:AnsiChar);
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
Procedure AssignFile(out f:File;const Name:UnicodeString);
|
|
Procedure AssignFile(out f:File;const Name:UnicodeString);
|
|
{$endif FPC_HAS_FEATURE_WIDESTRINGS}
|
|
{$endif FPC_HAS_FEATURE_WIDESTRINGS}
|
|
@@ -122,10 +122,10 @@ Var
|
|
|
|
|
|
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
|
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
|
{ Text file support }
|
|
{ Text file support }
|
|
- Procedure AssignFile(out t:Text;p:pchar);
|
|
|
|
- Procedure AssignFile(out t:Text;c:char);
|
|
|
|
- Procedure AssignFile(out t:Text;p:pchar; aCodePage : TSystemCodePage);
|
|
|
|
- Procedure AssignFile(out t:Text;c:char; aCodePage : TSystemCodePage);
|
|
|
|
|
|
+ Procedure AssignFile(out t:Text;p:PAnsiChar);
|
|
|
|
+ Procedure AssignFile(out t:Text;c:AnsiChar);
|
|
|
|
+ Procedure AssignFile(out t:Text;p:PAnsiChar; aCodePage : TSystemCodePage);
|
|
|
|
+ Procedure AssignFile(out t:Text;c:AnsiChar; aCodePage : TSystemCodePage);
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
Procedure AssignFile(out t:Text;const Name:UnicodeString);
|
|
Procedure AssignFile(out t:Text;const Name:UnicodeString);
|
|
Procedure AssignFile(out t:Text;const Name:UnicodeString; aCodePage : TSystemCodePage);
|
|
Procedure AssignFile(out t:Text;const Name:UnicodeString; aCodePage : TSystemCodePage);
|
|
@@ -139,8 +139,8 @@ Var
|
|
|
|
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{ Typed file supoort }
|
|
{ Typed file supoort }
|
|
- Procedure AssignFile(out f:TypedFile;p:pchar);
|
|
|
|
- Procedure AssignFile(out f:TypedFile;c:char);
|
|
|
|
|
|
+ Procedure AssignFile(out f:TypedFile;p:PAnsiChar);
|
|
|
|
+ Procedure AssignFile(out f:TypedFile;c:AnsiChar);
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
{$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
|
|
Procedure AssignFile(out f:TypedFile;const Name:UnicodeString);
|
|
Procedure AssignFile(out f:TypedFile;const Name:UnicodeString);
|
|
{$endif FPC_HAS_FEATURE_WIDESTRINGS}
|
|
{$endif FPC_HAS_FEATURE_WIDESTRINGS}
|
|
@@ -190,12 +190,12 @@ Var
|
|
|
|
|
|
{ Untyped file support }
|
|
{ Untyped file support }
|
|
|
|
|
|
-Procedure AssignFile(out f:File;p:pchar);
|
|
|
|
|
|
+Procedure AssignFile(out f:File;p:PAnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (F,p);
|
|
System.Assign (F,p);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure AssignFile(out f:File;c:char);
|
|
|
|
|
|
+Procedure AssignFile(out f:File;c:AnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (F,c);
|
|
System.Assign (F,c);
|
|
end;
|
|
end;
|
|
@@ -225,24 +225,24 @@ end;
|
|
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
|
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
|
{ Text file support }
|
|
{ Text file support }
|
|
|
|
|
|
-Procedure AssignFile(out t:Text;p:pchar);
|
|
|
|
|
|
+Procedure AssignFile(out t:Text;p:PAnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (T,p);
|
|
System.Assign (T,p);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure AssignFile(out t:Text;p:pchar; aCodePage : TSystemCodePage);
|
|
|
|
|
|
+Procedure AssignFile(out t:Text;p:PAnsiChar; aCodePage : TSystemCodePage);
|
|
begin
|
|
begin
|
|
System.Assign (T,p);
|
|
System.Assign (T,p);
|
|
SetTextCodePage(T,aCodePage);
|
|
SetTextCodePage(T,aCodePage);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure AssignFile(out t:Text;c:char);
|
|
|
|
|
|
+Procedure AssignFile(out t:Text;c:AnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (T,c);
|
|
System.Assign (T,c);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
-Procedure AssignFile(out t:Text;c:char; aCodePage : TSystemCodePage);
|
|
|
|
|
|
+Procedure AssignFile(out t:Text;c:AnsiChar; aCodePage : TSystemCodePage);
|
|
begin
|
|
begin
|
|
System.Assign (T,c);
|
|
System.Assign (T,c);
|
|
SetTextCodePage(T,aCodePage);
|
|
SetTextCodePage(T,aCodePage);
|
|
@@ -285,12 +285,12 @@ end;
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
|
{ Typed file support }
|
|
{ Typed file support }
|
|
|
|
|
|
-Procedure AssignFile(out f:TypedFile;p:pchar);
|
|
|
|
|
|
+Procedure AssignFile(out f:TypedFile;p:PAnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (F,p);
|
|
System.Assign (F,p);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure AssignFile(out f:TypedFile;c:char);
|
|
|
|
|
|
+Procedure AssignFile(out f:TypedFile;c:AnsiChar);
|
|
begin
|
|
begin
|
|
System.Assign (F,c);
|
|
System.Assign (F,c);
|
|
end;
|
|
end;
|