RemObjects Pascal Script Delphi7
日前使用了RemObjects Pascal Script实现脚本功能。
可惜在脚本编辑中想使用一些标准函数(如abs、format)没有成功。
找了一些RemObjects Pascal Script的资料都是泛泛而谈,其中也提到了一些库的引用。
按照提示,我引用后仍无法实现函数功能。
请问各位,如果使用RemObjects Pascal Script编写脚本,使用ABS、Format等标准函数如何处理,谢谢。
[解决办法]
官方的例子就支持Abs的,只不过没支持Format,自己注册下就可以
Sender.AddFunction(@Format, 'function Format(const Format: string; const Args: array of const): string;');
改过的例子这边下载。
http://d.1tpan.com/tp2098880468
[解决办法]
直接AddFunction
[解决办法]
把邮箱给我,我给你一些Demo