basic/doc/statements/
swap.rs

1/*!
2# `SWAP <variable>,<variable>`
3
4## Purpose
5Swaps the values of two variables.
6
7## Remarks
8A `?TYPE MISMATCH` error will occur if the types aren't identical.
9It's just like `TEMP=A : A=B : B=TEMP` but doesn't need a temporary variable.
10
11## Example
12```text
13SWAP A,B
14```
15
16*/