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
This commit is contained in:
kichik 2003-03-11 16:35:43 +00:00
parent 4d2c2ee325
commit 788f9eb974

View file

@ -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