Difference between revisions of "CAEngine::SendCommand"

m
Line 1: Line 1:
 
[[Category:ADE Methods and Properties]]
 
[[Category:ADE Methods and Properties]]
[[CAEngine|<< class CAEngine]]
+
[[Category:ADE User Guide]]
 +
[[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAEngine]]
 +
<languages />
 +
<translate>
  
 
= bool SendCommand(string command) =
 
= bool SendCommand(string command) =
Line 42: Line 45:
 
* [[:Category:ADE Methods]] index
 
* [[:Category:ADE Methods]] index
 
* [[Analytica Decision Engine (ADE) API]]
 
* [[Analytica Decision Engine (ADE) API]]
 +
</translate>

Revision as of 20:03, 15 June 2015

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

bool SendCommand(string command)

Sends the string «command» property as a typescript command to be executed by ADE. See the Analytica Scripting Guide for details of commands and syntax.

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( )

This can be done with a single SendCommand statement.

b = ade.SendCommand("profile Va1")

Return value

Boolean (success or 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.