qb45advr.hlp (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.
SWAP Statement Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
SWAP Statement Details
 
Syntax
  SWAP variable1,variable2
 
Any type of variable can be swapped (integer, long, single precision,
double precision, string, or record). However, the two variables must be
exactly the same type or an error message appears ("Type mismatch").
For example, trying to swap an integer with a single-precision value
produces a "Type mismatch" error.