From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44D506BB.2010901@asgaard.homelinux.org> Date: Sat, 5 Aug 2006 22:59:39 +0200 From: =?UTF-8?B?Ik5pbHMgTy4gU2Vsw6VzZGFsIg==?= User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] rc break References: <835cfe5421a8185d917e5b61170607ce@quanstro.net> In-Reply-To: <835cfe5421a8185d917e5b61170607ce@quanstro.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 978ecce2-ead1-11e9-9d60-3106f5b1d025 erik quanstrom wrote: > is there some reason that rc has no "break" statement? The rc paper has some notes on this : "... I deleted the builtins export, readonly, break, continue, read, return, set, times and unset because they seem redundant or only marginally useful." > for example: > > for(i in $fu){ > ... > if(endcond) > break; > } > > - erik