From: Logan Capaldo Date: 2006-08-16T12:54:57+09:00 Subject: Re: goto function? On Aug 15, 2006, at 10:07 PM, Eero Saynatkari wrote: > fabsy wrote: >> Hey! >> I have been trying to find a goto function in ruby.. >> Like this: >> >> foo: bar >> If blabla then GOTO foo >> >> Is there any command for exiting the app? >> And how do I search ex a textfile for a certain word and delete it? >> >> > > Since no-one mentioned it, how about a throw/catch solution? > I originally tried to do it with throw/catch, but its not really "goto-y" enough. Hence the continuation solution. >> Thanks! > > -- > Posted via http://www.ruby-forum.com/. >