Help for this page

Select Code to Download


  1. 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: [])                        |
    
  2. or download this
    if stw!=0 then stw else 1.40 * 1e-6  endif
    
  3. 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'; }
    
  4. or download this
    sub evaluate
    {
    ...
        return $value;
        }
    }
    
  5. 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)