|
|
#1 |
|
Junior Member
Join Date: Apr 2004
Posts: 2
|
Difference between ${THIS} and $THIS.
Yes, I'm an NSIS noob.
![]() I have been searching the manual and the FAQ without success for the official word on the syntactic difference between using curly braces and not using them. A forum search on "{" does not return anything... Maybe I am missing an essential language reference. My tests suggest that I need {} for my own !define'd constants and not for system-defined constants, but it would be good to know if there is more to it than just that or if I am missing the boat entirely. Thanks! |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
$THIS is a variable refernce, ${THIS} is a define (preprocessor constant) reference.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2004
Posts: 2
|
Ah, thank you! Does the documentation mention it (and I just missed it?)
This NSIS is pretty cool. I figured out some of the script language and got a setup program running smoothly! |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Documentation reference:
http://nsis.sourceforge.net/Docs/Chapter5.html#5.4 http://nsis.sourceforge.net/Docs/Chapter4.html#4.2 http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.15 http://nsis.sourceforge.net/Docs/Chapter5.html#5.3 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|