18 lines
1.5 KiB
Plaintext
18 lines
1.5 KiB
Plaintext
<beginfold id='1'>{</beginfold id='1'>MT01<endfold id='1'>}</endfold id='1'> <beginfold id='2'>!{</beginfold id='2'>file must start with <beginfold id='1'>{</beginfold id='1'>MT01<endfold id='2'>}</endfold id='2'><endfold id='2'>}</endfold id='2'>
|
|
|
|
<beginfold id='2'>!{</beginfold id='2'> This is a comment. <endfold id='2'>}</endfold id='2'>
|
|
<beginfold id='2'>!{</beginfold id='2'> The file contains any number of sections; each starts with <beginfold id='1'>{</beginfold id='1'>section name<endfold id='2'>}</endfold id='2'>. <endfold id='2'>}</endfold id='2'>
|
|
<beginfold id='2'>!{</beginfold id='2'> <beginfold id='1'>{</beginfold id='1'>MT01<endfold id='2'>}</endfold id='2'> starts the header (the current section). <endfold id='2'>}</endfold id='2'>
|
|
|
|
<beginfold id='1'>{</beginfold id='1'>First section<endfold id='1'>}</endfold id='1'>
|
|
<beginfold id='2'>!{</beginfold id='2'>We're now in "First section".<endfold id='2'>}</endfold id='2'>
|
|
|
|
<beginfold id='2'>!{</beginfold id='2'>Data is entered with tags of the form: <type|name=value>; e.g.: <endfold id='2'>}</endfold id='2'>
|
|
<char[]|string="A string.">
|
|
< int[] | fifteen = [15, 0xF] >
|
|
<double|number = [2.1]>
|
|
|
|
<beginfold id='2'>!{</beginfold id='2'>To comment out a tag, just prefix with ! : <endfold id='2'>}</endfold id='2'>
|
|
!<char | hidden tag= 'h' >
|
|
<beginfold id='2'>!{</beginfold id='2'>But the formatting must still be correct (don't do: <char[]|invalid string=" (no ending quote)> )<endfold id='2'>}</endfold id='2'>
|