|
|
#1 |
|
Junior Member
Join Date: Dec 2004
Posts: 3
|
hi,
sorry for a newbee question: is there a possibiltity to define string arrays? greetings, adrian |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Unfortunately you can't in NSIS. It would be a very nice feature though...
The only way to 'simulate' an array is to use an INI file (using WriteINIStr and ReadINIStr) E.g. [Array] 0=blah 1=bfhg etc -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2004
Posts: 3
|
dude,
> The only way to 'simulate' an array is to use an INI file (using WriteINIStr and ReadINIStr) yes, works fine. thanx. hm, i have needed the arrays after a half of hour of working with nsis. strange, they are not a part of it yet... greetings, josiph |
|
|
|
|
|
#4 |
|
Major Dude
|
i developed a solution using csv-data and the stack. it's possible to enter a list as csv-data (comma separated), and work with it e.g. in loops.
the csv parsing function is in the archive, link in my sig. the complete solution still lies on my harddisk, don't know, if anyone ever will need to use it... hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|