From: Justin Johnson Date: 2002-07-24T18:27:41+09:00 Subject: Re: passing array to function Seems to work fine for me? -- Justin Johnson. "Cameron Matheson" wrote in message news:20020724062511.GA16425@hachi... > Hi, > > Is there a way to pass an array to a function... e.g > > myArray = Array.new( 5, "Hello" ) > > def bye( arr ) > arr[2] = "Goodbye" > end > > > Couldn't find a way to do this... > > Cameron >