Ada.Command Line.Command Name Example Source

From AdaDKWiki - an Ada Programming Wiki

Jump to: navigation, search
with Ada.Text_IO;
with Ada.Command_Line;
 
procedure Args is
   package IO renames Ada.Text_IO;
   package CLI renames Ada.Command_Line;
begin
   IO.Put_Line (Item => "Argument Count:" & CLI.Argument_Count'Img);
   IO.Put_Line (CLI.Command_Name);
end Args;

Go back