62 lines
1019 B
INI
62 lines
1019 B
INI
[section]
|
|
variable=value
|
|
key2=value 2
|
|
key3 = a value \
|
|
with continuation \
|
|
and nothing more
|
|
a_long_key_that_spans_a_whole_lot_of_characters_and_is_practically_useless = value4
|
|
number = 0.000001
|
|
|
|
[booleans]
|
|
bool = true
|
|
bool = yes
|
|
bool = 1
|
|
bool = on
|
|
bool = false
|
|
bool = no
|
|
bool = 0
|
|
bool = off
|
|
bool = invalid
|
|
|
|
[integers]
|
|
int = 42
|
|
int = -42
|
|
int = 0x2a
|
|
int = -0x2a
|
|
int = 0o52
|
|
int = -0o52
|
|
int = 0b101010
|
|
int = -0b101010
|
|
int = invalid
|
|
|
|
[unsigneds]
|
|
unsigned = 42
|
|
unsigned = -42
|
|
unsigned = 0x2a
|
|
unsigned = 0o52
|
|
unsigned = 0b101010
|
|
unsigned = invalid
|
|
|
|
[reals]
|
|
real = 0.1
|
|
real = 0.0000042
|
|
real = 42
|
|
real = -4.2e1
|
|
real = invalid
|
|
|
|
[strings]
|
|
string = String without quotes
|
|
string = "String with double quotes"
|
|
string = 'String with single quotes'
|
|
string = "String concat " "with" ' mixed ' 'quotes' " and so"
|
|
string = # not empty
|
|
string = "" # not empty too
|
|
string = " " # a space, don't know why you'd want that...
|
|
string = "Smile! \U0001F600\ud83d\ude00\xf0\x9f\x98\x80"
|
|
|
|
[section2]
|
|
key1=value1
|
|
key1=value2
|
|
key1=value3
|
|
key4=value4
|