☜ | FORAnnotations | ☞ |
Introduced in the 1977 ANSI M[UMPS] language standard.
This metalanguage symbol represents a range of values to be assigned to the loop counter of a For command. Such a range of values can be:
Examples:
FOR K=1:1:10
FOR K=17:-1:10
FOR K=1,2,3,5,7,11,13
FOR K="ABC","klm","PQR"
FOR K=1:3
In the last example, unless an explicit Quit command is executed within the scope of the For loop, the loop will continue forever.
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.
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 09-Jan-2024, 15:14:56.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)