Difference between revisions of "MUMPS/MUMPS Language Elements"

From VistApedia
Jump to: navigation, search
(Redirected page to M/M Language Elements)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Introduction ==
+
#REDIRECT[[M/M Language Elements]]
MUMPS has abbreviations for each command. We will have sections in this page for each character of the alphabet.
+
[[Category:M sub-site]]
This information is from [[Ed de Moel]]'s [[MUMPS by Example]] web page.
 
Unless otherwise stated, all commands on this page are part of the Standard MUMPS Language and are implemented by all Standard MUMPS vendors. Any commands that are not implemented by all Standard MUMPS vendors are not used by {{G|VistA}} application code. 
 
 
 
== Commands ==
 
Unless otherwise stated, each command may be followed by the colon (''':'''), then a <u>postcondition</u> which is an expression that when evaluated is interpreted as either True (1) or False (0). When the <u>postcondition</u> is interpreted as True, the command is executed with its arguments. When the <u>postcondition</u> is interpreted as False then the command is '''NOT''' executed with its arguments and is skipped. The <u>postcondition</u> functions as a "guard" that either allows the command to be executed or not.
 
 
 
Unless otherwise stated, most commands are followed by a space and more information needed to complete the command action. This extra information is a command argument. Most commands that have NO argument will take a default action. The commands that have no extra information are called <u>argumentless</u> commands.
 
 
 
{{:MUMPS/Command_A}}
 
{{:MUMPS/Command_B}}
 
{{:MUMPS/Command_C}}
 
{{:MUMPS/Command_D}}
 
{{:MUMPS/Command_E}}
 
{{:MUMPS/Command_F}}
 
{{:MUMPS/Command_G}}
 
{{:MUMPS/Command_H}}
 
{{:MUMPS/Command_I}}
 
{{:MUMPS/Command_J}}
 
{{:MUMPS/Command_K}}
 
{{:MUMPS/Command_L}}
 
{{:MUMPS/Command_M}}
 
{{:MUMPS/Command_N}}
 
{{:MUMPS/Command_O}}
 
{{:MUMPS/Command_P}}
 
{{:MUMPS/Command_Q}}
 
{{:MUMPS/Command_R}}
 
{{:MUMPS/Command_S}}
 
{{:MUMPS/Command_T}}
 
{{:MUMPS/Command_U}}
 
{{:MUMPS/Command_V}}
 
{{:MUMPS/Command_W}}
 
{{:MUMPS/Command_X}}
 
{{:MUMPS/Command_Y}}
 
{{:MUMPS/Command_Z}}
 
 
 
== Functions ==
 
{{:MUMPS/Function_A}}
 
{{:MUMPS/Command_B}}
 
{{:MUMPS/Command_C}}
 
{{:MUMPS/Command_D}}
 
{{:MUMPS/Command_E}}
 
{{:MUMPS/Command_F}}
 
{{:MUMPS/Command_G}}
 
{{:MUMPS/Command_H}}
 
{{:MUMPS/Command_I}}
 
{{:MUMPS/Command_J}}
 
{{:MUMPS/Command_K}}
 
{{:MUMPS/Command_L}}
 
{{:MUMPS/Command_M}}
 
{{:MUMPS/Command_N}}
 
{{:MUMPS/Command_O}}
 
{{:MUMPS/Command_P}}
 
{{:MUMPS/Command_Q}}
 
{{:MUMPS/Command_R}}
 
{{:MUMPS/Command_S}}
 
{{:MUMPS/Command_T}}
 
{{:MUMPS/Command_U}}
 
{{:MUMPS/Command_V}}
 
{{:MUMPS/Command_W}}
 
{{:MUMPS/Command_X}}
 
{{:MUMPS/Command_Y}}
 
{{:MUMPS/Command_Z}}
 

Latest revision as of 17:06, 8 February 2021