home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 February
/
Chip_2004-02_cd1.bin
/
zkuste
/
konfig
/
download
/
msic
/
Help
/
Int
/
MiTeC_Params.int
< prev
next >
Wrap
Text File
|
2003-08-26
|
867b
|
34 lines
unit MiTeC_Params;
interface
uses SysUtils, Classes, Windows;
type
TFindParamOption = (fpMatchCase, fpPartial);
TFindParamOptions = set of TFindParamOption;
TApplicationParameters = class
private
FParamList: TStringList;
function GetParamCount: Byte;
function GetParameter(Index: Byte): string;
procedure ReadParameters;
function GetCmdLine: string;
function GetIsNumber(Index: Byte): boolean;
public
constructor Create;
destructor Destroy; override;
property Parameters[Index: Byte]: string read GetParameter;
property ParamIsNumber[Index: Byte]: boolean read GetIsNumber;
property ParamCount: Byte read GetParamCount;
property CommandLine: string read GetCmdLine;
function IndexOf(Value: string; Options: TFindParamOptions = []): integer;
end;
implementation