From: Ted Flethuseo Date: 2010-07-02T12:06:15+09:00 Subject: Re: getting array input from command line Cool, but now I'm having some trouble transforming the array from: ["0", "1", "2", "3"] to [0,1,2,3].. how can I do this? Ted. Lee Jarvis wrote: > On 26 June 2010 06:58, Ted Flethuseo wrote: > >> inFile = ARGV[0] >> myArr = -i params >> myArr2 = -o params >> >> Any help appreciated. >> Ted. >> -- >> Posted via http://www.ruby-forum.com/. >> >> > Also, check out OptionParser - > http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/index.html -- Posted via http://www.ruby-forum.com/.