Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

SWAP function

Syntax: SWAP(string-variable-1,string-variable-2)
Discussion: The SWAP function exchanges the contents of two string variables.

The parentheses are optional.

Example:
SWAP(A$,B$)
The contents of A$ and B$ are exchanged.