From: Dan Diebolt Date: 2008-03-27T01:28:34+09:00 Subject: Re: Simple Question --0-904929203-1206548923=:14629 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit >Is it possible to ... yes but you don't need a lot of that extra syntax def test(val1,val2) [val1,val2] end thisarr = test(1.2,"three") => [1.2, "three"] pete wrote: Hi- This should be an easy one to answer... Is it possible to return an array from a function? Example (although a very bad one): def test(val1,val2) myarr = Array.new myarr = [val1,val2] return myarr end begin thisarr = test(val1,val2) end --0-904929203-1206548923=:14629--