DataMuseum.dk

Presents historical artifacts from the history of:

CP/M

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CP/M

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦fbfb11b64⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »CMDLIN.PAS«

Derivation

└─⟦5e4548e7d⟧ Bits:30005778 Turbo Pascal v.3.01A (CP/M-86)
    └─ ⟦this⟧ »CMDLIN.PAS« 

TextFile

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.
«eof»