more information about Var limitations

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4155 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-07-02 13:07:44 +00:00
parent 1caa4cf661
commit 3441d31522

View file

@ -1,6 +1,6 @@
\H{variables} Variables
All variables are global and can be used in Sections or Functions.
All variables are global and can be used in Sections or Functions. Note that, by default, variables are limited to 1024 characters. To extend this limit, \R{build}{build NSIS} with a bigger value of NSIS_MAX_STRLEN in Source/exehead/config.h or use the \W{http://nsis.sourceforge.net/download/specialbuilds/}{special build}.
\S1{varuser} User Variables
@ -12,7 +12,13 @@ User variables can be declared with the \R{var}{Var} command. You can use these
\c var_name
Declare a user variable. Allowed characters for variables names: [a-z][A-Z][0-9] and '_'.
Declare a user variable. Allowed characters for variables names: [a-z][A-Z][0-9] and '_'. Variables cannot be declared in sections or functions.
\c Var example
\c
\c Function testVar
\c StrCpy $example "example value"
\c FunctionEnd
\S1{varother} Other Writable Variables