Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Results from clients can be used as part of an expression. The syntax for retrieving a result from a client is exactly the same as sending an event to a client (See § 5.10.1, page ):
expression -> name ( arg1, arg2, ... )
expr1 -> [ expr2 ] ( arg1, arg2, ... )If the event is sent to a client as part of an expression, the Glish interpreter waits for the result. When the result is received, it is used in the evaluation of the expression. If no result is needed, the event is simply sent to the client and the interpreter continues.