Old 21st September 2003, 21:46   #1
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Exclamation backslash extends comment over multiple lines!

Hello.

As documented in the NSIS scripting reference, to extend a command over multiple lines, one can use a backslash (\) at the end of the line.

I have found that a comment ending in backslash causes it to extend to the next line!!!!

I was wondering if this behaviour is intended? I wasn't aware that a trailing backslash affected comments too, and I was going crazy trying to figure out why perfectly valid commands were failing to execute.
psyke is offline   Reply With Quote
Old 22nd September 2003, 09:44   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It seems to be intentional.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd September 2003, 15:11   #3
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Ah, ok. Thank you.

I'll have to keep this in mind in the future... I don't think I'll forget though.
psyke 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