jaschulz
22nd September 2003 19:05 UTC
NAME in string question
{MUI_PRODUCT} has been removed from the latest version, and we are meant to use NAME instead. However, I figure out how I am supposed to use NAME in say the text string for a dialog box. I have tried ${NAME}, but it just prints out literally.
What am I doing wrong?
JAS
kichik
22nd September 2003 19:11 UTC
Use $(^Name).
jaschulz
22nd September 2003 19:35 UTC
OK, that worked, now can you show me how to devine "CAPTION" as NAME + VERSION, as in this:
Name "My App"
!define $Version "v. 1.0"
Caption ???
Thanks
JAS
kichik
22nd September 2003 19:40 UTC
Caption "$(^Name) ${VERSION}"
Nothing special there.
jaschulz
22nd September 2003 19:46 UTC
Except that it doesn't work, it gets me:
My App ${VERSION}
in the dialog caption
kichik
22nd September 2003 19:49 UTC
That define you used is wrong. It defines ${$version} as that version. I doubt that's what you wanted. Remove that extra dollar sign in the !define line.
jaschulz
22nd September 2003 19:53 UTC
Yes, that did it. Thanks.
JAS