diff --git a/accepted/ddlm_dictionary_style_guide.md b/accepted/ddlm_dictionary_style_guide.md index 66b105d..f3b5ac2 100644 --- a/accepted/ddlm_dictionary_style_guide.md +++ b/accepted/ddlm_dictionary_style_guide.md @@ -1,6 +1,6 @@ # Style Guide for DDLm Dictionaries -Version 1.2.1 2022-05-10 +Version 1.2.2 2023-06-29 ## Overview @@ -246,7 +246,28 @@ compound objects. '_dictionary_audit.version' '_dictionary_audit.date' '_dictionary_audit.revision'] +``` + +### 2.5 Enumeration ranges + +When giving enumeration ranges for `Integer` data items, no decimal +point should be used. When giving enumeration ranges for `Real` data +items, a decimal point should be used with at least one digit after +the point. Any following digits, if present, must be non-zero. +#### Examples + +``` +# Integer ranges +1:230 +0: +-8:8 + +# Real number ranges +0.0:100.0 +0.0: +-180.0:180.0 +0.95:1.0 ``` ## 3. Data items @@ -539,3 +560,4 @@ DESCRIPTION_EXAMPLE. | 1.1.0 | 2021-09-30 | Added rules 5.1 and 5.2 that deal with the naming of save frames. | | 1.2.0 | 2022-04-27 | Added rule 2.1.15 for manual opt-out of formatting. | | 1.2.1 | 2022-05-10 | Added consideration of special values. | +| 1.2.2 | 2023-06-29 | Added rule 2.5 for enumeration formatting. |