Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mdf_file_format [2021/06/04 11:42] – [Valid Identifier Characters] nlondon | mdf_file_format [2023/09/01 16:05] (current) – Added more information to Array nlondon | ||
|---|---|---|---|
| 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: | ||
| " | " | ||
| ] | ] | ||
| - | } | + | ] |
| </ | </ | ||