Skip to content

swap en

Hamatoma edited this page Aug 7, 2022 · 1 revision

Swapping the contents of two buffers.

Parameters

Name Type Description Example
a bufferName First exchange buffer. a=result
b bufferName Second exchange buffer. b=input
If no parameter is specified, buffer input and output are swapped.

Example

The input buffer contains:

Write email
The todo buffer says:
Listen podcast
  • Command swap a=input b=todo
Then it says in input:
Listen podcast
and in todo:
Write email

Clone this wiki locally