Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // PlainTextDataStructure
- // this is a empty block with the name 'hello'
- "hello" {
- }
- // this is a non-empty block with the name 'hello2'
- "hello2" {
- // this is a key/value element (name/key is 'a', value is 'testomatiko')
- "a" "testomatiko";
- // this is a array element (name is 'b', values are 'value0','value1' and 'value2')
- "b" ["value0","value1","value2"]
- // this is a block-in-a-block with the name 'hello3'
- "hello3" {
- /* This key/value-element is commented out by a block-comment
- "k" "value";
- */
- // This is a line-comment!
- // Here we have 3 arrays called 'a0','a1' and 'a2', each with the values '0','1','2','3' and '4'.
- "a0" ["0","1","2","3","4"]
- "a1" ["0","1","2","3","4"]
- "a2" ["0","1","2","3","4"]
- // another block in a block
- "hello4"
- {
- // another block in a block
- "hello5"
- {
- // another block in a block
- "hello6"
- {
- // another block in a block
- "hello7"
- {
- }
- // this block named 'hello4' will override (and thus delete) the other block called 'hello4'.
- // that means you can't have blocks with the same name in the same block.
- "hello4"
- {
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement