I know KJS already answered this, but I wanted to try to clarify a
bit, and focus just on exception handling in PIR.
Basically, each opcode can throw an exception. If that happens,
control will unwind until it finds something willing to catch it:
.sub 'eek'
$I0 = 1
$I0 /= 0
say $I0
.end
Th
On Thu, Mar 27, 2008 at 6:48 PM, Ovid
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Trying to work through the tutorial
> (http://www.parrotblog.org/search/label/tutorial) and am trying to
> finish Episode 4 with catch blocks. The grammar in Episode 3 has this:
>
> try-statement ::= 'try' block 'c