From: Robert Klemme Date: 2008-12-25T18:40:03+09:00 Subject: Re: Go LABEL On 24.12.2008 16:21, Phlip wrote: > Robert Klemme wrote: > >> No, for error handling you use "raise" and "rescue". Please pay close >> attention to how "catch" and "throw" work, especially the fact that >> you can use a second argument to "throw" to pass an object (presumably >> the result of a calculation). > > Then just use return. If it can be used that would definitively my first choice. Sometimes it can't and in these - admittedly rather rare - circumstances you should rather use catch throw than goto IMHO. Cheers robert -- remember.guy do |as, often| as.you_can - without end