diff options
| author | Drahflow <drahflow@gmx.de> | 2017-08-21 07:52:18 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2017-08-21 07:52:18 +0200 |
| commit | d2f33fe305f6a2a4ad2a18f1eafc4e1e4741bd8c (patch) | |
| tree | 8588f847d55f6a624e31fcdd2f85d41bbaebe6f7 /doc/global.md | |
| parent | 139931a432f304ef06cd381d0f408490b96d7013 (diff) | |
Added _' for indexed access to stack
Diffstat (limited to 'doc/global.md')
| -rw-r--r-- | doc/global.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/global.md b/doc/global.md index e207973..99dc65c 100644 --- a/doc/global.md +++ b/doc/global.md @@ -311,6 +311,19 @@ Duplicates the top stack element. 0000000000000001 +`_'` +--- + +Takes from the top of the stack an integer. This is used as +an index into the rest of the stack (starting from top). +The specified stack element is duplicated to the top of the stack. + + /a /b /c 1 _' dump dump dump dump + "b" + "c" + "b" + "a" + `-` --- |
