![]() |
#1 |
Senior Member
Join Date: Aug 2005
Posts: 121
|
gflag iteration
Is it possible to iterate in a loop through !define gflags names? For example, get values of ${Stuff$1}, where $1 is a number in ascending order? This example does not work:
PHP Code:
|
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
|
Many times I wished something like that was doable but it isn't. No such thing as compile time loops/variables.
PostEnd: |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Aug 2005
Posts: 121
|
Ok, thanks anyway.
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,446
|
You can generate a batchfile with !appendfile and run it with !system and do the looping in the batchfile and generate a .nsh
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
|
I knew that my "it can't be done" would draw a wizard out.
![]() ![]() PostEnd: |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|