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

ETRIGGER

M[UMPS] by Example

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-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

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 14-Nov-2023, 21:36:45.

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