diff --git a/README.md b/README.md index 8b4d829..e57ba3a 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,11 @@ The format supports the following data types: - Arrays may only contain one datatype at a time. - Arrays may be of any positive dimension. - Arrays may be of any positive length. +- Arrays must be consistent in length within each dimension. - Arrays may be empty. - Example: `array = [5, 6, 10]` - Example: `array2d = [[5, 8], [9, 7], [23, 47]]` -- Example: `array2d = [[9], [50, 3], [54, 12, 46, 37]]` +- Example: `array3d = [[[5, 8], [9, 7], [8, 1]], [[9, 1], [1, 4], [7, 6]]]` - Example: `emptyArray = []` ### Boolean @@ -110,6 +111,7 @@ my-value = 5 | Invalid character in key. [MyOtherSection.Subsection] | "MyOtherSection" has not been defined before. myValue = 16 # a comment | Inline comments are not allowed. +`array2d = [[9], [50, 3]]` | Lengths of the arrays in the same dimension don't match. [MyOtherSection] myArray = [ | Values may not span over multiple lines.