Var can now be used in sections and functions, but only with the /GLOBAL flag

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4211 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-08-06 16:04:17 +00:00
parent f5105a50b1
commit 68dc7f9f7e
4 changed files with 36 additions and 7 deletions

View file

@ -40,6 +40,14 @@ Section "Dummy Section" SecDummy
SectionEnd
Section "Another Section"
Var /GLOBAL "AnotherVar"
StrCpy $AnotherVar "test"
SectionEnd
;--------------------------------
; Uninstaller