Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Lua
s = arg[0]

the script name is the argument before the first one (table index begin at 1)
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Directories; use Ada.Directories;
S : String := (Simple_Name (Command_Name));

New implementation...
< >
programming-idioms.org