well that's what i am looking for. But a test doesn't work.
unit unit2;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs;//, StdDlg;
type
{ TForm1 }
TForm1 = class(TForm)
procedure Create(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.Create(Sender: TObject);
var
i: integer;
begin
for i := 0 to paramCount() do
begin
showmessage(paramStr(i));
end;
end;
end.