Skip to content
⌘ NSIS Forum Archive

Multi-line string constants

3 posts

Lenge#

Multi-line string constants

Hello world,

is there a way to make a string constant spread over multiple code lines (similar as "\" does outside of string constants)? For example, in...
!define ABC "This is a very long text constant."
..., I'd like to be able to write the string over several lines of code, yet still have if treated as a single long string.
Anders#
why waste time posting on the forum instead of just testing if it works?


!define foo "long friggin \
line"
Lenge#
To be honest: Because, while searching the internet, I came across the rumor that it doesn't.

Maybe I shouldn't have trusted the rumor without testing...