Prev Previous Post   Next Post Next
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
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump