Mode Indication

Meaning

A mode indication is a bold word, an external object, that specifies a mode. Examples are int and complex. It is possible to introduce new mode indications via mode declarations. A mode indication is interchangeable with the mode it denotes within its range, which spans until the end of the current block. For example, the following mode declaration declares a mode indication tuple, which is visible until the end of the closed clause:

begin
  mode tuple = [2];
  ...
end

Mode indications are very often abbreviated and referred to as “MOIDs” or “moids”.

Syntax

Simplified [RR 4.8.1.A,a]:

A) INDICATOR :: identifier ; mode indication ; operator.
G) TAX :: TAG ; TAB ; TAD ; TAM.

a) QUALITY new defining INDICATOR with TAX:
     TAX token.

Note that TAB is the meta-notion for a bold tag.

See Also