home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
norge.freeshell.org (192.94.73.8)
/
192.94.73.8.tar
/
192.94.73.8
/
pub
/
computers
/
cpm
/
alphatronic
/
TP_301A.ZIP
/
cmdlin.pas
next >
Wrap
Pascal/Delphi Source File
|
1985-01-01
|
768b
|
39 lines
program CommandLine;
{
COMMANDLINE PARAMETERS DEMONSTRATION PROGRAM Version 1.00A
This program gets parameters from the command line:
INSTRUCTIONS
1. Load the TURBO compiler and compile to a .COM file
2. Quit the TURBO compiler and execute the program with
parameters. Try:
cmdlin abc def
cmdlin Greetings from Frank Borland!
cmdlin
NOTE: For information about these functions, please refer to your
TURBO 3.0 Reference Manual.
}
var
i : integer;
begin
for i := 1 to ParamCount do
writeln(ParamSTR(i));
end.
0 Reference Manual.
}
var
i : integer;
begin
for i := 1 to ParamCount do
writeln(ParamSTR(i));
end.