Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Release 2.4 comprised the following changes to Release 2.3:
result := request a->b( 1:10 )sends a b event to a with value 1:10 and then waits for a to reply. The value of a's reply is stored in result. Note that request is a new keyword, which may cause incompatibilities (syntax errors) with existing scripts that have variables with that name. (See § 7.4, page for details.)
foo->bar( args )instead as
send foo->bar( args )The belief is that using send will lead to more readable scripts, and the plan is to gradually phase in send as a mandatory keyword.
int Client::HasEventSource()which returns true if a Glish client has any input source (either a connection to the Glish interpreter, or by reading from stdin), and false if it has no input source (due to using -noglish) (Chapter 15, page ).