Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 3rd March 2004, 17:48   #1
treborhudson
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]?
treborhudson is offline   Reply With Quote
Old 3rd March 2004, 18:27   #2
Joost Verburg
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.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump