ParamStr (rtl)
<source lang='delphi'>Function ParamStr(index:Integer):String;</source>
Cette fonction retrouve un paramètre passé sur la ligne de commande du programme.
| Result | Une chaine de caractère. |
| index | Index du paramètre. (1...) |
Exemple
<source lang='delphi'> function IsInDebug:boolean; var idx:Integer; begin
for idx:=1 to ParamCount-1 do
if ParamStr(i)='-debug' then
begin
Result := True;
Exit;
end;
Result := False;
end; </source>
Voir aussi:
{{#if:Développement DSM|
{{#if:Développement DSM|— Développement DSM |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}