CAEngine::SendCommand

This page is a translated version of the page CAEngine::SendCommand and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

bool SendCommand(string command)

將包含在Command屬性內的字符串作為指令發送給ADE去執行。 關於指令和語法的詳細信息請參考 Analytica腳本指南

在執行typescript指令時 SendCommand是一個比 Send跟家快速的簡單方法。使用 Send需要以下兩條語句執行一條指令。

ade.Command = "profile Va1"
b = ade.Send( )

只要一條 SendCommand語句即可實現。

b = ade.SendCommand("profile Va1")

返回值

Boolean(布爾值:success或者 failure)

錯誤代碼

可能錯誤代碼列表可能不完整

1 – “未执行”
2 – “警告”
3 – “语法错误”
4 – “语句错误”
5 – “表达式错误”
6 – “执行错误”
7 – “系统错误”
8 – “致命错误”
9 – “未定义变量错误”
10 – “终止”

另請參考

Comments


You are not allowed to post comments.