Clear Variable in NSIS
i must be missing something important in NSIS Var command.
Var
[/GLOBAL] var_name
Declare a user variable. Allowed characters for variables names: [a-z][A-Z][0-9] and '_'. All defined variables are global, even if defined in a section or a function. To make this clear, variables defined in a section or a function must use the /GLOBAL flag. The /GLOBAL flag is not required outside of sections and functions.
Var example
Function testVar
Var /GLOBAL example2
StrCpy $example "example value"
- Read more about Clear Variable in NSIS
- 1 comment
- Log in or register to post comments

