|
@@ -27,12 +27,12 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-function GetWBArg(Idx: Integer): string;
|
|
|
|
|
|
+function GetWBArg(Idx: Integer): shortstring;
|
|
var
|
|
var
|
|
startup: PWBStartup;
|
|
startup: PWBStartup;
|
|
wbarg: PWBArgList;
|
|
wbarg: PWBArgList;
|
|
Path: array[0..254] of AnsiChar;
|
|
Path: array[0..254] of AnsiChar;
|
|
- strPath: string;
|
|
|
|
|
|
+ strPath: shortstring;
|
|
Len: Integer;
|
|
Len: Integer;
|
|
begin
|
|
begin
|
|
GetWBArg := '';
|
|
GetWBArg := '';
|
|
@@ -159,9 +159,9 @@ begin
|
|
argc:=localindex;
|
|
argc:=localindex;
|
|
end;
|
|
end;
|
|
|
|
|
|
-function GetProgDir: string;
|
|
|
|
|
|
+function GetProgDir: shortstring;
|
|
var
|
|
var
|
|
- s1: string;
|
|
|
|
|
|
+ s1: shortstring;
|
|
alock: BPTR;
|
|
alock: BPTR;
|
|
counter: Byte;
|
|
counter: Byte;
|
|
begin
|
|
begin
|
|
@@ -183,10 +183,10 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-function GetProgramName: string;
|
|
|
|
|
|
+function GetProgramName: shortstring;
|
|
{ Returns ONLY the program name }
|
|
{ Returns ONLY the program name }
|
|
var
|
|
var
|
|
- s1: string;
|
|
|
|
|
|
+ s1: shortstring;
|
|
Counter: Byte;
|
|
Counter: Byte;
|
|
begin
|
|
begin
|
|
GetProgramName := '';
|
|
GetProgramName := '';
|
|
@@ -226,9 +226,9 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
{ argument number l }
|
|
{ argument number l }
|
|
-function ParamStr(l: LongInt): string;
|
|
|
|
|
|
+function ParamStr(l: LongInt): shortstring;
|
|
var
|
|
var
|
|
- s1: string;
|
|
|
|
|
|
+ s1: shortstring;
|
|
begin
|
|
begin
|
|
ParamStr := '';
|
|
ParamStr := '';
|
|
if AOS_wbMsg <> nil then
|
|
if AOS_wbMsg <> nil then
|