Thread: gflag iteration
View Single Post
Old 1st July 2013, 18:50   #1
zeeh3
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:
!define Stuff00    "D939D0765789"
!define Stuff01    "2983C201F3A4"
!define Stuff02    "5DC3"
...
    
StrCpy $""

    
${For} $0 0 2

        IntFmt 
$"%02d" $0
        StrCpy 
$$2${Stuff$1}

    ${
Next
zeeh3 is offline   Reply With Quote