From: r Date: 2008-12-31T10:54:28+09:00 Subject: Re: Ruby Noobie needs some help Robert, Oops, Yea my script was suppost to look like this... #testscript.rb cams = ['cam1', 'cam2', 'cam3'] def function(s) puts s for x in cams;print x;end end function() I really like the each() method, it saves eairly onset of Carpal Tunnel :). I was not aware that you could leave out the brackets. C and Python has made me too comfortable with for loops. I will look into modules also. Thanks