[Code]

function GetMyParam(PName
:String):String;
var
  CmdLine 
: String;
  CmdLineLen 
: Integer;
  i 
: Integer;
begin
    CmdLineLen
:=ParamCount();
    
for i:=0 to CmdLineLen do
    begin
    CmdLine
:=ParamStr(i);
    
if CmdLine= PName then
      begin
          CmdLine
:=ParamStr(i+1);
          Result 
:= CmdLine;
          
Exit;
      end;
    end;
end;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
相关资源
相似解决方案