PDA

View Full Version : args


emma1611
08-01-2006, 02:46 PM
hiya people, i am a beginner and i cannot find any examples of command line arguments dealing with numbers. does anyone know where i can find information about this? For example, i want to be able to add 3 numbers together so i would enter java SimpleAdd 1 2 3 in the command prompt and have it return my answer as 6...please help i am sooooooooo confused

paulq
08-01-2006, 03:30 PM
http://java.sun.com/docs/books/tutorial/essential/attributes/cmdLineArgs.html

emma1611
08-01-2006, 04:45 PM
thank you sorted,