P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SwapT
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  SwapT
 
  /* Swap the top two floating point values on the floating point stack.
  */
 
  Description
 
  Swaps the two top temporary real values on the floating point stack by
  popping them off of the stack and then pushing them back on in the
  opposite order.
 
  Pseudocode equivalent:
 
  treal t2, t1;
  t2 = FpPop();
  t1 = FpPop();
  FpPush(t2);
  FpPush(t1);
 
 
                                     -♦-