The syntax diagrams let you see quickly how to construct an EGL statement. Here is an example diagram:
Read the diagram from left-to-right, top-to-bottom, following the main path, which is the line that begins on the left with double arrowheads (>>). As you follow the main path you may select an entry on a subordinate path, in which case you continue reading from left-to-right along the subordinate path.
In the example, the main path is composed of four line segments. It is important to see this. The second and third line segments of the main path each begins with a single arrowhead (>) and includes subordinate information. The fourth line segment of the main path line also begins with a single arrowhead (>), includes returning arrows and subordinate information, and ends with two arrowheads facing each other (><).
myVariable 50 "Oh!"
The specific requirements for an italicized term (for example, whether a string or number is appropriate) are explained in the text that follows the syntax diagram, not in the syntax diagram itself.
If a diagram shows a nonalphanumeric character, you type that character as part of the syntax. After you specify a value for RequiredValue, for instance, you type a colon (:) and a blank.
If you are allowed to select from any of several terms, the terms are shown in a stack. In the example, you can specify the term Alternative01 or Alternative02.
If (as in this case) you must select a term from those listed in a stack, one of the choices (arbitrarily specified) is on the top line of the stack. If you are not required to select a term, the terms are all below the top line of the stack, as is true of OptionalTerm01.
optionalTerm01 = yes optionalTerm01 optionalTerm01 = no OptionalTerm02
An arrow returning to the left above a term indicates that you can use the term repeatedly. In the example, you specify values for property, each separated from the next with a comma.
OptionalTerm04 OptionalTerm05 OptionalTerm06 OptionalTerm04 OptionalTerm06 OptionalTerm05