- or download this
19|ifthenelse|>>Matched action<< (return value: []) |
19|ifthenelse|>>Matched production: [if elsif else |
...
19|ifthenelse|>>Matched rule<< (return value: |
| |[ARRAY(0x870cb08)]) |
19|ifthenelse|(consumed: []) |
- or download this
if stw!=0 then stw else 1.40 * 1e-6 endif
- or download this
expr: ifthenelse
{ $return = main::evaluate($main::c_v, @item); }
...
{ if ($item[2]) { $return = $item[4] } else { $return = 'NIL'
+} }
endif: /endif/i { $return = 'NIL'; }
- or download this
sub evaluate
{
...
return $value;
}
}
- or download this
21| expr |>>Matched action<< (return value: |
...
20| else |(consumed: [ else 1.40 * 1e-6]) |
19|ifthenelse|>>Matched repeated subrule: [else]<< |
| |(1 times)