From: Ted Flethuseo Date: 2010-06-26T14:58:19+09:00 Subject: getting array input from command line Hi everyone, I want to get some data from a user, that I want to put in an array.. well the first one is filename and the rest are a bunch of numbers which are sepparated by -i and -o options. inFile = ARGV[0] myArr = -i params myArr2 = -o params Any help appreciated. Ted. -- Posted via http://www.ruby-forum.com/.