Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

ETRIGGER

M[UMPS] by Example

Right Hand Pointer

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

This command causes an event to occur. For examples, see the structured system variable ^$Window. Depending on the type of event thst is to occur, the event specification will be in:
^$Window (window,"EVENT",type)
^$Window(window,"G",gadget,"EVENT",type)
^$Window(window,"T",timer,"EVENT",type)
^$Window(window,"M",menu,"CHOICE",item,"EVENT",type)

Approved for addition in a future M[UMPS] Windowing Application Programmer's Interface standard.

The ability to trigger events that are to be processed by other processes is introduced.

Suppose that the value of local variable X is the process-ID of one process, and that this process is intended to process events that are triggered by another job. Let the value of local variable Y be the process-ID of this other job.

Either process could issue a command like:
Set ^$Job(X,"EVENT","IPC",Y)="^PROGRAM"

When the process identified by Y issues the command
ETrigger "^$Job(X,""EVENT"",""IPC"",Y)"
the process identified by X will start executing the routine ^PROGRAM. When the process identified by X started recognition of IPC events with the command ESTArt "IPC", this processing will occur synchronously, when the recognition was started with ASTArt "IPC", this processing will occur asynchronously.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2017 MUMPS Development Committee;
Copyright © Examples: 1995-2017 Ed de Moel;
Copyright © Annotations: 2003-2017 Jacquard Systems Research.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 28-Nov-2011, 20:33:04 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)