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?
答案 0 :(得分: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"