fa/doc/md/SWAP.md
Ari Archer c30a3de674
Deprecate mutability contexts
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-27 13:41:50 +03:00

14 lines
262 B
Markdown

# Swap keyword in fa
`Swap` keyword will swap two elements on the stack
`Swap` takes no arguments
Example of the `swap` keyword:
```fa
"E" swap drop
```
This will swap the places with the string (`"E"`) and the
length (`1`) so it will be basically `69 pop`