Notes on Syntax Graphs
- Last UpdatedMar 21, 2022
- 1 minute read
<loc>
When a Location needs to be specified, it is shown as <loc> in the syntax graphs. It can be:
-
A three-letter word. For example: CAM, the LOCID of a LOC element, where the LOCID is three capital letters.
-
A text string of three alphanumeric characters, beginning with a letter. For example: CAM, A99 or abc, the LOCID of a LOC element.
-
A general identifier <gid> which points to a LOC element. For example: /LOCATION_AAA.
<when>
|
>--+-- BEFORE --. |
<date>
|
>--- time --- day --- month --- year |
-
time is in the format hh:mm where hhx is the hour and mm the minutes. If not given then the default of 23:59 is taken. There must not be any spaces around the colon.
-
day will be an integer. If not specified, the current day is taken. The day must be given if no time was specified.
-
month can be entered as a word, or as a number separated by a slash. If not given the current month is assumed. If used, the slash must be surrounded by spaces.
-
year will default to the current year. It may be entered as two or four figures.
Examples:
|
12:00 21 January 2002 9:30 11 / 1 / 02 10:30 21 / 1 / 2002 21 January |