source: cpp/frams/_demos/loader_test_param.in @ 329

Last change on this file since 329 was 329, checked in by Maciej Komosinski, 9 years ago

More examples of Param loader

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