CAEngine::SendCommand

Revision as of 02:52, 21 October 2015 by Jhuawen (talk | contribs) (Created page with "Boolean(布尔值:success或者 failure)")

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

bool SendCommand(string command)

将包含在Command属性内的字符串作为指令发送给ADE去执行。 关于指令和语法的详细信息请参考 Analytica脚本指南

SendCommand is a single method that is faster way to execute a typescript command than using the Send method. Using Send requires these two statements to execute a command.

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

只要一条 SendCommand声明即可实现。

b = ade.SendCommand("profile Va1")

返回值

Boolean(布尔值:success或者 failure)

Error Codes

May not be a complete list of possible error codes
1 – “Unimplemented”
2 – “Warning”
3 – “Lexical error”
4 – “Statement error”
5 – “Expression error”
6 – “Execution error”
7 – “System error”
8 – “Fatal error”
9 – “Undefined variable error”
10 – “Aborted”

See Also

Comments


You are not allowed to post comments.