1 | o = p
|
2 |
|
3 | a with spaces = b c
|
4 |
|
5 |
|
6 | " xa n p " = "\"\r\nyoyoyo\r\r\n"
|
7 |
|
8 |
|
9 | "[disturbing]" = hey you never know
|
10 |
|
11 |
|
12 | s = 'something'
|
13 |
|
14 |
|
15 |
|
16 | s1 = "something'
|
17 |
|
18 | ; Test double quotes
|
19 | s2 = "something else"
|
20 |
|
21 | ; Test arrays
|
22 | zr[] = deedee
|
23 | ar[] = one
|
24 | ar[] = three
|
25 | ; This should be included in the array
|
26 | ar = this is included
|
27 |
|
28 | ; Test resetting of a value (and not turn it into an array)
|
29 | br = cold
|
30 | br = warm
|
31 |
|
32 | ; a section
|
33 | [a]
|
34 | av = a val
|
35 | e = { o: p, a: { av: a val, b: { c: { e: "this [value]" } } } }
|
36 | j = "{ o: "p", a: { av: "a val", b: { c: { e: "this [value]" } } } }"
|
37 | "[]" = a square?
|
38 |
|
39 | ; Nested array
|
40 | cr[] = four
|
41 | cr[] = eight
|
42 |
|
43 | ; nested child without middle parent
|
44 | ; should create otherwise-empty a.b
|
45 | [a.b.c]
|
46 | e = 1
|
47 | j = 2
|
48 |
|
49 | ; dots in the section name should be literally interpreted
|
50 | [x\.y\.z]
|
51 | x.y.z = xyz
|
52 |
|
53 | [x\.y\.z.a\.b\.c]
|
54 | a.b.c = abc
|
55 |
|
56 | ; this next one is not a comment! it's escaped!
|
57 | nocomment = this\; this is not a comment
|
58 |
|
59 | # Support the use of the number sign (#) as an alternative to the semicolon for indicating comments.
|
60 | # http://en.wikipedia.org/wiki/INI_file#Comments
|
61 |
|
62 | # this next one is not a comment! it's escaped!
|
63 | noHashComment = this\# this is not a comment
|
64 |
|
\ | No newline at end of file |