Skip to content
⌘ NSIS Forum Archive

Line continuation with DirText?

4 posts

paraclete#

Line continuation with DirText?

I'd like to use a long text string for DirText, such as:

DirText "Welcome to the installation/setup program for InVerse ver 3.2.00a. After the installation, new users are encouraged to print and go through the Tutorial. This can be displayed with 'Start' + 'Programs' + 'InVerse Folder' + 'InVerse Tutorial'"

Is there a way to have line continuation with this? Such as VisBasic's _ ?

DirText "Welcome to the installation/setup program" _
" for InVerse ver 3.2.00a. After the installation, " _
"new users are encouraged to print and go through " _
"the Tutorial. This can be displayed with " _
"'Start' + 'Programs' + 'InVerse Folder' + 'InVerse Tutorial'"

Does building up a string with StrCpy allowed outside a section?
rainwater#
Do:

DirText "Welcome to the installation/setup program \
for InVerse ver 3.2.00a. After the installation, \
new users are encouraged to print and go through \
the Tutorial. This can be displayed with \
'Start' + 'Programs' + 'InVerse Folder' + 'InVerse Tutorial'"
paraclete#
Thanks for the "rapid response" You guys are GOOD!

Prov 15:23 (NIV) A man finds joy in giving an apt reply-- and how good is a timely word!

"Inquiring minds want to know"🧟

Is there a way to format the DirText string with CrLf's embedded. I'd like to have something like the following:

These are the steps to install:
1. aksjdf;lasjf
2. dsfsdfasadsdfsfdfsdklj;j
3. 889asfasd0asdfsdlkj