本文介绍了#define指令中的Inno Setup字符串串联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Inno Setup网站是否没有记录#define指令,还是我在某个地方错过了该指令?可以使用定义的字符串进行定义并将它们串联起来吗?

Did the Inno Setup website fail to document the #define directives or did I miss that somewhere? Is it permissible to define using defined strings and concatenate them?

#define MyApp ABC
#define MyAppVersion 1.2.1
#define MyFolder ?  ; what is the right syntax here to concatenate
                    ; the two previously defined strings?

推荐答案

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

Here is the section of help concerning defines:

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"

这篇关于#define指令中的Inno Setup字符串串联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 01:39