MSM-Workstation
Events
CommonCode
Both windows and modules have a CommonCode section each.
These CommonCode areas are place holders for any subroutines and
extrinsic functions that are needed by action logic sections of
the window or module. These subroutines are started with a normal
M[UMPS] tag and optional formal parameter list and concluded with a
Quit command. Logically, these tags are all in the same routine
as the logic sections which call them, therefore a local call is
all that is required. Of course, action logic and even the
CommonCode section can also call any tag in a routine that exists
outside of the MSM-ViEW/Builder environment. Any code that
resides outside of code-bodies that are maintained by
MSM-ViEW/Builder must be edited and managed using their own
appropriate tools. The tags provided to introduce the
CommonCode
sections are used like normal M local tags within the action
logic which calls them.
CommonCode in a window is available to that
window and any controls within the window.
CommonCode in a module is
only available to that module and is not available to any of its
components.
Go to the alphabetic list of events.