公司功能创新设置 [英] Inc function Inno Setup

查看:70
本文介绍了公司功能创新设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能真的很简单,但是当我尝试编译包含以下内容的程序时

This may be really simple but when I try to compile a program containing

Inc(Count);

在Inno Setup中,我不断得到

In Inno Setup I keep getting

未知标识符"Inc"

Unknown identifier 'Inc'

我相信这是您以Pascal为单位递增整数的方式,并且对如何继续此处感到困惑.

I believe this is how you increment integers in Pascal, and am confused on how to proceed here.

我正在使用Inno Setup 5.5.9(a).

I am using Inno Setup 5.5.9(a).

推荐答案

实际上, Inc 在Inno安装程序的Ansi版本中不起作用.不过,它可以在Unicode版本中使用.

Indeed, the Inc does not work in Ansi version of Inno Setup. It works in Unicode version though.

无论如何,您都不应使用Ansi版本.现在是2016年,任何应用程序都不应再使用旧版编码.切换到Unicode版本.

You should not use Ansi version anyway. It's 2016, no application should use legacy encoding anymore. Switch to the Unicode version.

如果您有充分的理由坚持使用Ansi版本(例如,许多与Ansi字符串一起使用的Pascal代码,在转换为Unicode版本时容易出错),您当然可以使用:

If you have a very good reason to stick with Ansi version (like lots of Pascal code that works with Ansi strings, which is error prone when converting to Unicode version), you can of course use:

Count := Count + 1;

这篇关于公司功能创新设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆