Skip to content
⌘ NSIS Forum Archive

backslash extends comment over multiple lines!

3 posts

psyke#

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#
Ah, ok. Thank you. 🙂

I'll have to keep this in mind in the future... I don't think I'll forget though. 😉