From: Cameron Matheson Date: 2002-07-25T04:51:52+09:00 Subject: Re: passing array to function Hmm, I guess i'm crazy and had a typo in my file w/ the src. Sorry everyone Cam On Wed, Jul 24, 2002 at 03:26:49PM +0900, Cameron Matheson wrote: > 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