Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add words on Enumeration range formatting #22

Merged
merged 7 commits into from
Jul 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion accepted/ddlm_dictionary_style_guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Style Guide for DDLm Dictionaries

Version 1.2.1 2022-05-10
Version 1.2.2 2023-06-29

## Overview

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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. |