Last change
on this file since 331 was
329,
checked in by Maciej Komosinski, 10 years ago
|
More examples of Param loader
|
File size:
866 bytes
|
Rev | Line | |
---|
[316] | 1 | #this is comment1
|
---|
[307] | 2 | # this is comment2
|
---|
| 3 | data:
|
---|
| 4 | text:qwerty
|
---|
| 5 | longtext:~
|
---|
| 6 | Long multiline text
|
---|
| 7 | 1\\~
|
---|
[329] | 8 | 22\~\n
|
---|
[307] | 9 | 333\ \\
|
---|
| 10 | 4444~
|
---|
[311] | 11 | deftext:other
|
---|
[307] | 12 | i1:-12345
|
---|
[329] | 13 | i2:-0X10
|
---|
[307] | 14 | i3:2
|
---|
[329] | 15 | f4:22222
|
---|
| 16 | f3:2222
|
---|
| 17 | f2:222
|
---|
[307] | 18 | f1:22
|
---|
[329] | 19 | f4:2
|
---|
| 20 | x1:3.14
|
---|
| 21 | x2:314
|
---|
[311] | 22 | notloaded:44
|
---|
[329] | 23 | notchanged:444
|
---|
[311] | 24 | notsaved:4444
|
---|
[329] | 25 | nosuchfield:value
|
---|
[307] | 26 |
|
---|
[329] | 27 | #all fields except x1 will have default values
|
---|
[307] | 28 | data:
|
---|
[329] | 29 | x1:just x (string extvalue)
|
---|
[307] | 30 |
|
---|
[323] | 31 | someotherdata:
|
---|
| 32 | this_object:will be ignored
|
---|
| 33 | because:we only load "data:" objects
|
---|
| 34 |
|
---|
[307] | 35 | data:
|
---|
| 36 | text:abcdefghijklmnopqrstuvwxyz
|
---|
[329] | 37 | i1:notanumber
|
---|
[307] | 38 | i2:-99999
|
---|
[329] | 39 | i3:+99999
|
---|
| 40 | i4:notanumber_with_default
|
---|
| 41 | f1:-0x100
|
---|
| 42 | f2:-1e
|
---|
| 43 | f3:+1e1
|
---|
| 44 | f4:1ee
|
---|
| 45 | x1:@Serialized:[1,2,3,1.00000,2e0,3.0,"x","]","\""]
|
---|
| 46 | x2:@Serialized:{"a":[1,2,3],"b":"abc","c":1.23}
|
---|
[307] | 47 |
|
---|
[311] | 48 | data:
|
---|
[329] | 49 | i1:+0X10
|
---|
[311] | 50 | i2:1e2
|
---|
| 51 | i3:-10
|
---|
[329] | 52 | x1:next line will overwrite this
|
---|
| 53 | x1:@Serialized:{"a":[1,2,3],"b":^1,"c":^1}
|
---|
| 54 | x2:@Serialized:[[100,^1],["abc"],[300,^2]]
|
---|
| 55 | i3:5
|
---|
Note: See
TracBrowser
for help on using the repository browser.