Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4252|回复: 4

[求助] .il文件载入错误,请大家帮忙

[复制链接]
发表于 2015-8-27 19:49:45 | 显示全部楼层 |阅读模式
本帖最后由 jurassic 于 2015-8-27 19:52 编辑

一个il文件,代码如下,载入il文件时,提示错误:E- *Error* defun: too few arguments (at least 3 expected, 2 given) - ((test) axlUIConfirm(strcat("hello " axlGetVariable("username"))))
E- *Error* load: error while loading file - "test.il" at line 3
ERROR

代码:
axlCmdRegister("test",'test)
defun(test()
        axlUIConfirm(strcat("hello ",axlGetVariable("username")))
)

 楼主| 发表于 2015-8-27 20:03:04 | 显示全部楼层
别沉了,自己顶一下
 楼主| 发表于 2015-8-27 21:02:14 | 显示全部楼层
知道什么原因了
发表于 2015-8-27 21:41:28 | 显示全部楼层

函数名后没加空格吧
 楼主| 发表于 2015-8-28 13:58:29 | 显示全部楼层
vivienluo 发表于 2015-8-27 21:41
函数名后没加空格吧

是的,不知道有这规则
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-5-16 20:20 , Processed in 0.181099 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表