From 788f9eb97436c7b2d62768dd9965c2f102ddba34 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 11 Mar 2003 16:35:43 +0000 Subject: [PATCH] A bit informative I hope... More information about Exch and order of items in the stack git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2279 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/stack.but | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/src/stack.but b/Docs/src/stack.but index bf70a896..1368f581 100644 --- a/Docs/src/stack.but +++ b/Docs/src/stack.but @@ -2,9 +2,9 @@ \S2{Exch} Exch -\c [user_var] | stack_index +\c [user_var | stack_index] -When no parameter is specified, exchanges the top two elements of the stack. When a parameter is specified and is a user variable, exchanges the top element of the stack with the parameter. When a parameter is specified and is a positive integer, the parameter specifies which item on the stack that the top of the stack is swapped with. If there are not enough items on the stack to accomplish the exchange, a fatal error will occur (to help you debug your code :). +When no parameter is specified, exchanges the top two elements of the stack. When a parameter is specified and is a user variable, exchanges the top element of the stack with the parameter. When a parameter is specified and is a positive integer, Exch will swap the item on the top of the stack with the item that is specified by the offset from the top of the stack in the parameter. If there are not enough items on the stack to accomplish the exchange, a fatal error will occur (to help you debug your code :). \S2{Pop} Pop