Swap

Swap the contents of two variables

Syntax: Swap(v1,v2)

v1 and v2 can be any variable type except a String.

Example:

Dim a(10) as ubyte, b(10) as ubyte

Swap(a,b)   ' Swap the contents of array a and array b

Also See: