| Previous | Menu | Next |
|
In the following MDL example, the event attribute date has type SimpleDate. This type is further defined as a collection of year, month, and day attributes of type Integer.
syntax SimpleMDL attributes date SimpleDate, severity Integer, text String format date, " ", severity width=1, newline, text width=var justify=left, "#" type SimpleDate attributes year Integer, month Integer, day Integer format year width=4 justify=right pad="0", "/", month width=2 justify=right pad="0", "/", day width=2 justify=right pad="0" |