Rob Biedenharn wrote: > On Feb 28, 2007, at 8:10 AM, Jenda Krynicky wrote: > >> Logan Capaldo wrote: >>> On Jan 20, 2006, at 3:05 PM, Tom Allison wrote: >>> >>>> my $super_ids; >>>> ... >>>> print $super_id,"\n"; >>> >>> In ruby... >>> >>> super_ids = nil # assign to declare > super_ids (plural) >>> ... >>> print super_id, "\n" > super_id (singular) >> or...) a variable sooner than you assign to it. Which is pretty >> And whenever I need to loop through something I have to make sure i >> use >> a different variable than any that could ever be "declared" in the >> same >> scope. Don't you think it's a bit stupid? You probably don't, you >> program in Ruby. > I touched on the issue of lack of variable declarations in my short crtique here: http://blog.surfulater.com/2007/02/21/write-ruby-code-faster-with-ed-for-windows/ Neville Franks, http://www.getsoft.com http://www.surfulater.com -- Posted via http://www.ruby-forum.com/.