* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:02:55 +01:00 committed by Michaël Van Canneyt
parent 216c55871a
commit 53b50327e9

View File

@ -100,8 +100,8 @@ const
implementation
procedure DebugWrite(const S: string); forward;
procedure DebugWriteLn(const S: string); forward;
procedure DebugWrite(const S: shortstring); forward;
procedure DebugWriteLn(const S: shortstring); forward;
const
fCarry = 1;
@ -266,7 +266,7 @@ Procedure SysInitFPU;
{$I ports.inc}
procedure DebugWrite(const S: string);
procedure DebugWrite(const S: shortstring);
begin
asm
{$if defined(FPC_X86_DATA_FAR) or defined(FPC_X86_DATA_HUGE)}
@ -296,7 +296,7 @@ begin
end ['ax','bx','cx','dx','si','di'];
end;
procedure DebugWriteLn(const S: string);
procedure DebugWriteLn(const S: shortstring);
begin
DebugWrite(S);
DebugWrite(#13#10);
@ -567,7 +567,7 @@ begin
end;
function paramstr(l : longint) : string;
function paramstr(l : longint) : shortstring;
begin
if argv=nil then
setup_arguments;