Skip to content
⌘ NSIS Forum Archive

Use a define in a Define

3 posts

thek#

Use a define in a Define

Hello is it possible to use a Define in another define
like
!define MYNAME  "Bob" 
!define MYFULL_NAME "${MYNAME} Examplary"
MYFULL_NAME should contain "Bob Examplary"

because it doesn't seem this it works...
or is there some other way to achive this?
niteflyer#
This should work.

The output of

!define MYNAME "Bob"
!define MYFULL_NAME "${MYNAME} Examplary"
!error '${MYFULL_NAME}'

is

!error: Bob Examplary