Old 16th September 2010, 16:19   #1
Marshall7a
Junior Member
 
Join Date: Oct 2004
Location: UK
Posts: 33
That was just to show the example. Using this instead:

====FILE1.NSH====
!ifdef _FILENUM
!undef _FILENUM
!endif
!define /math _FILENUM ${FILENUM} + 1
!echo `I am include number ${_FILENUM}`
!undef FILENUM
!define FILENUM ${_FILENUM}
${For} $R0 1 5
${Next}

!if ${FILENUM} < 16
!include "file1.nsh"
!endif

...still crashes when filenum is 8.

I've never been very sure about what is right. I'm not even sure that there is such a thing as right. Or wrong. Just places to stand.
Marshall7a is offline   Reply With Quote
Reply
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