P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Inc<t><n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Inc<t><n>
 
  /* Increment top element on stack */
 
  Possible Instructions
 
  IncW1...IncW4, IncW6, IncW8, IncW10, IncW12, IncW14, IncW16, IncWb
 
  See: P-Code Data Types
       P-Code Operands
 
  Description
 
  Increment the top element of type <t> on the stack by <n>. If <n> is not
  specified, the increment is 1.
 
  Pseudocode equivalent:
 
  <t> = Pop<t>();
  Push<t>(<t> + <n>);
 
  For example:
 
  int w1, w2;
  w1 = w2 + 2;        /* generates IncW2 */
 
 
                                     -♦-