Inno Setup #define指令中的字符串连接

H2O*_*aCl 4 inno-setup

Inno Setup网站是否未能记录#define指令,或者我在某处错过了什么?是否允许使用已定义的字符串进行定义并将它们连接起来?

#define MyApp ABC
#define MyAppVersion 1.2.1
#define MyFolder ?  ; what is the right syntax here to concatenate 
                    ; the two previously defined strings?
Run Code Online (Sandbox Code Playgroud)

dem*_*lus 6

以下是有关定义的帮助部分:

http://www.jrsoftware.org/ispphelp/index.php?topic=define

关于你的例子:

#define MyApp "ABC"
#define MyAppVersion "1.2.1"
#define MyFolder MyApp + MyAppVersion

#define MyFolder1 MyApp + "Some other string"
Run Code Online (Sandbox Code Playgroud)