KONSOLE

0

Jak zrobic żeby konsola obługiwała parametry, bo nie mogłem sie doszukać?

np.
proghs.exe -d 234 -x ala

0

paramStr
paramCount

0

A może troche więcej bo mi nic nie mówi...

0

function ParamCount: Integer;
ParamCount returns the number of parameters passed to the program on the command line. Separate parameters with spaces or tabs. Use double quotes to wrap multiple words as one parameter (such as long file names containing spaces).

function ParamStr(Index: Integer): string;
ParamStr returns the parameter from the command line that corresponds to Index, or an empty string if Index is greater than ParamCount. For example, an Index value of 2 returns the second command-line parameter.

Znalazłem to w HELPie w pół minuty (25 sekund sie Delphi uruchamiał :-D )

1 użytkowników online, w tym zalogowanych: 0, gości: 1