1. Home
  2. Macro


is a Genstat text structure containing a section of a Genstat program. The text must have an unsuffixed identifier. It can be substituted into the program, by giving its identifier, preceded by a contiguous pair of substitution symbols (##). The substitution takes place as soon as Genstat reads the pair of hashes. (However, Genstat also has the EXECUTE directive, which allows a text containing a list of statements to be executed for example within a loop or procedure.)

Updated on February 25, 2019

Was this article helpful?