So why isn't it called 'try'? Regards Franz "Avi Bryant" <avi / beta4.com> wrote in message news:Pine.LNX.4.10.10101111255030.29791-100000 / beta4.com... > > On Fri, 12 Jan 2001, [iso-8859-1] Anders Strandl=F8v Elkj=E6r wrote: > > >=20 > >=20 > > Hiyas. I am a bit puzzled about the use of 'do', 'begin' and 'end'. Why d= > o > > you sometimes need the begin and other times not. > > 'begin' is not needed with 'do', 'while', 'if', etc. It is only used when > paired with rescue/ensure to catch exceptions. 'begin' is analagous to > 'try' in some other languages. >