|
|
#1 |
|
Junior Member
Join Date: Oct 2003
Posts: 16
|
Functions and scope
Do functions maintain their own scope for the variables $[0-9] and $R[0-9]?
|
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
No, these registers are global. You have to use the stack (see the example functions).
To store global values the usage of user variales which can be declared using Var is recommended. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|