Prev Previous Post   Next Post Next
Old 28th March 2006, 08:39   #11
Grimace
Junior Member
 
Join Date: Mar 2006
Location: Belgium
Posts: 2
Variable name length

I'm new to NSIS and gratefully using the NSISArray plugin. I stumbled upon an issue which I, by some debugging, tracked down to variable name length of arrays. I'm not sure whether this restriction is by NSIS design, or an NSISArray issue (or just me overlooking something else).

Anyway, when using the following code:

code:

${Array} "TheObject->Foo1_"
${Array} "TheObject->Foo2_"

Section
${TheObject->Foo1_->Init}
${TheObject->Foo2_->Init}
${TheObject->Foo1_->Debug}
${TheObject->Foo2_->Debug}
SectionEnd



you'll only get a debug window for the last initialized array (you can verify that by swapping the 2 Init statements). If you remove the underscore to shorten the variable names, all works fine.

Am I stretching some limits, or is this a bug?
Grimace 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