Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Java
String s = System.getProperty("sun.java.command");

This is the name of the archive or class executed with the jvm.
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