Arrays in NSIS: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(direct download link) |
(completely reworked to cover all aspects about arrays in nsis) |
||
Line 1: | Line 1: | ||
{{PageAuthor|Afrow UK}} | {{PageAuthor|Afrow UK}} | ||
== | NSIS is currently missing array support. | ||
There are only single-dimensional variables, no arrays or structures of any kind. | |||
The Array | A feature request has been submitted to fix this issue and add array support to NSIS [http://sourceforge.net/tracker/index.php?func=detail&aid=1414916&group_id=22049&atid=373088]. | ||
Meanwhile, two solutions have been created by Afrow UK, to work with arrays in NSIS: | |||
== Array Header File == | |||
The Array Header File is a collection of macros and functions that simulate arrays in native NSIS. | |||
It has been superseeded by the NSISArray.dll PlugIn, which is faster and offers more advanced options. | |||
== Array PlugIn == | |||
The PlugIn features full array support for NSIS, though not with native commands. | |||
The .dll file handles everything related to the arrays on runtime. | |||
<attach>NSISArray.zip</attach> | <attach>NSISArray.zip</attach> | ||
''includes documentation and example files'' | |||
== Links == | == Links == | ||
* [http://forums.winamp.com/showthread.php?s=&threadid=222275 Forumthread for the PlugIn] | |||
[[Image:Zip.gif]] [http://myweb.tiscali.co.uk/imker/downloads/Array.zip | * [[Image:Zip.gif]] [http://myweb.tiscali.co.uk/imker/downloads/Array.zip Mirror] (PlugIn file only, 6 KB) | ||
[[Category:Plugins]] | |||
[[Category:String Functions]] | [[Category:String Functions]] |
Revision as of 21:00, 5 April 2007
Author: Afrow UK (talk, contrib) |
NSIS is currently missing array support. There are only single-dimensional variables, no arrays or structures of any kind.
A feature request has been submitted to fix this issue and add array support to NSIS [1].
Meanwhile, two solutions have been created by Afrow UK, to work with arrays in NSIS:
Array Header File
The Array Header File is a collection of macros and functions that simulate arrays in native NSIS. It has been superseeded by the NSISArray.dll PlugIn, which is faster and offers more advanced options.
Array PlugIn
The PlugIn features full array support for NSIS, though not with native commands. The .dll file handles everything related to the arrays on runtime.
NSISArray.zip (99 KB) includes documentation and example files
Links
- Forumthread for the PlugIn
- Mirror (PlugIn file only, 6 KB)