advr.hlp (Topic list)
SWAP Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SWAP variable1, variable2
 
 Usage Notes
   ■ SWAP is an assignment statement that exchanges the values of two
     variables. See: Assigning Values to Variables
 
   ■ Any type of variable can be swapped (integer, long, single-precision,
     double-precision, string, currency, or user-defined). However, if the
     two variables are not exactly of the same type, Visual Basic generates
     the error message, "Type mismatch."