Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mdf_file_format [2021/06/04 10:09] – [Elements] nlondon | mdf_file_format [2023/09/01 16:05] (current) – Added more information to Array nlondon | ||
---|---|---|---|
Line 17: | Line 17: | ||
====== Valid Identifier Characters ====== | ====== Valid Identifier Characters ====== | ||
- | Names and Values | + | Property |
< | < | ||
A-Z a-z 0-9 _!+-. | A-Z a-z 0-9 _!+-. | ||
</ | </ | ||
- | Optionally, you can also surround the Name or Value with double quotes to include otherwise illegal characters, such as spaces, colons, and so on. | + | Optionally, you can also surround the Name with double quotes to include otherwise illegal characters, such as spaces, colons, and so on. |
< | < | ||
✅ ThisIsAValidIdentifier | ✅ ThisIsAValidIdentifier | ||
Line 75: | Line 75: | ||
===== Array ===== | ===== Array ===== | ||
- | **Array** elements are very similar to [[#Chunk]] elements, in that they contain multiple other properties, but the specific difference is that properties in an array don't need to define a name. They //can// define a name, if required, and duplicate names are also allowed. | + | **Array** elements are very similar to [[#Chunk]] elements, in that they contain multiple other properties, but the specific difference is that properties in an array don't need to define a name. They //can// define a name, if required, and duplicate names are also allowed. Arrays are defined by using a starting square bracket ('' |
Like [[# | Like [[# | ||
Line 81: | Line 81: | ||
< | < | ||
MyArray = | MyArray = | ||
- | { | + | [ |
" | " | ||
NamedElement = "This is an element with a name" | NamedElement = "This is an element with a name" | ||
Line 93: | Line 93: | ||
" | " | ||
] | ] | ||
- | } | + | ] |
</ | </ | ||