【发布时间】:2014-03-04 14:59:03
【问题描述】:
Windev无法编译时Compile()方法返回错误。
例如(正确的代码):
teller is int = hnbrec("client")
result teller
此代码返回客户端数据文件中的项目数量。
但是当我打错字时:
teller is int = hnbrec("client")
result telles //should be teller
Windev 没有提到错误...
但是当我打错字时:
teller iss int = hnbrec("client") //should be is
result teller
它抛出一个语法错误,告诉我它无法识别 iss。
如何检查第二个示例以使其抛出错误?
编辑: 但是,当我使用
执行代码时ExecuteProcess("<the process name>", trtProcedure)
该过程将返回一个错误,说它不知道告诉... 但是我不想执行这个过程,我只需要检查并写入数据库。
【问题讨论】:
标签: windev