The for command is a small utility command that allows the instructions defining a curve to be split into several parts in the script.
GEOD makes it possible to separate instructions into several scripts. See the include command. One may imagine, for example, that one of these scripts contains the definitions of the master curves, with the node coordinates, while another script contains the instructions controlling the appearance of these curves, such as colour, line thickness, and so on.
This is possible with the for command, which follows the syntax below:
for lineName
--> formatting instructions
For example, in one place, one may define a line with its nodes and its name:
line
x ... y ...
x ... y ...
name a
And in another place, one may write the instructions controlling the graphical attributes of this line:
for a
color black
width 2