<code style=
"padding:0px; font-family:Monaco,Menlo,Consolas,'Courier New',monospace; font-size:12px; color:inherit; background-color:transparent; border:0px; word-wrap:break-word"
><span
class
=
"ini_section"
style=
"color:black"
>[globals]</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>num</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>123</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>; this is a regular string</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>str</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>abc</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>; another way of assigning strings</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>str</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>
"abc"
</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>; this is an
array
</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash[x]</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>1</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash[y]</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>2</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash[z]</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>3</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>; dot-notation is recognized too</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash.x</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>1</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash.y</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>2</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>hash.z</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>3</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>; this is also an
array
</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>items</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>7,8,9</span><span
class
=
"comment"
style=
"color:rgb(184,134,11)"
>;
array
with mixed elements</span><span
class
=
"ini_key"
style=
"color:rgb(65,105,225)"
>mix</span>=<span
class
=
"ini_value"
style=
"color:rgb(220,20,60)"
>
"this"
,123.45,FALSE</span></code>