View Single Post
Old 28th March 2006, 09:39   #52
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:


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


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