* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:10:04 +01:00 committed by Michaël Van Canneyt
parent 59016499dc
commit e9ce7ebd4b

View File

@ -144,7 +144,7 @@ begin
paramcount := argc - 1; paramcount := argc - 1;
end; end;
function paramstr(l : longint) : string; function paramstr(l : longint) : shortstring;
begin begin
if (l>=0) and (l<argc) then if (l>=0) and (l<argc) then
paramstr:=strpas(argv[l]) paramstr:=strpas(argv[l])