The command:
adam_start name
initialises the Adam message system and registers name as the task name and creates the following additional commands:
Returns 1 if a path to name exists and 0 if it doesn't.
Receives an Adam message and returns a list who's elements are:
command task msg_name path messid msg_status msg_valuewhere command is one of:
actstart paramreq paramrep inform sync syncrep trigger startmsg endmsg getresponse setresponse controlresponseIf command is paramreq then msg_value is a list who's elements are:
parameter_name prompt_string default_value help_text error_messageNote that if there is no message available adam_receive will wait until a message arrives.
Sends a message to a task starting a new transaction. context must be one of:
get set obey cancel controladam_send returns a list who's elements are the path and messid of the new transaction.
Sends a message on the transaction specified by path and messid. Valid values for msg_status are:
actstart actcomplete paramrep paramreq inform sync syncrep trigger
Waits for an adam message to arrive on the given path and messid and returns a list whose elements are the same as the list returned by adam_receive.
STARTCL --- Starlink Extensions to Tcl & Tk