Executes the statements contained within a text.
No options
Parameter
texts | Statements to be executed |
---|
Description
EXECUTE
allows a set of Genstat statements placed in a text to be executed, for example inside loops or procedures.
Options: none.
Parameter: unnamed.
Action with RESTRICT
Any restrictions on the texts are ignored.
See also
Directives: TEXT
, PROCEDURE
, FOR
.
Commands for: Program control.
Example
" Example 1:5.4.3 " TEXT [VALUES='SCALAR X; VALUE=12'] T1 & [VALUES='DELETE [REDEFINE=yes] X','TEXT [VALUE=Twelve] X'] T2 FOR T=T1,T2 EXECUTE T PRINT X; FIELD=12 ENDFOR