Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How many variables can be declared? (http://forums.winamp.com/showthread.php?t=258793)

Brummelchen 2nd November 2006 19:06

How many variables can be declared?
 
I have a script with now nearly 70 additional (unique) variables - and i get error on the 71. Is there a limit?

NSIS is still v2.17 here - might that fixed with a newer release?

kichik 2nd November 2006 19:17

What error?

Brummelchen 2nd November 2006 19:43

although it is declared i get sytnax error:

Var PIDCHECK

...

;reset error flag
StrCpy $ERROR "0" <-- ok
StrCpy $PIDCHECK "0" <- fault

StrCpy $ERROR "0" () () <-- ok
Usage: StrCpy $(user_var: output) str [maxlen] [startoffset]

If i chose $0 it works ($ERROR works too)

# i had same trouble with $COMAPP but i dont needed it further so i didnt mind on it

kichik 2nd November 2006 20:06

1 Attachment(s)
Works fine for me. Attach a complete minimal example reproducing the problem.

Brummelchen 3rd November 2006 14:33

hmm, works here too - strange...

omg - guess why...
code:
Var SYSDIR2 ;has / instead \
Var PIDCHECK ;pid check flag


the last \ causes it - i remember it anyway


All times are GMT. The time now is 04:32.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.