Thursday, May 19, 2011

Comments in .ini file


Use ";" :

[http]
server.socket_host      = localhost
server.socket_port      = 10005
server.thread_pool      = 256
socket.queue_size       = 10 ; some comments
server.environment      = production        ; some comments
tools.encode.on         = True ; some comments
tools.decode.on         = True
;tools.gzip.on           = True ; some comments and commented parameter
;log.screen              = False ; some comments and commented parameter
[mail]
serveraddress = 172.16.9.8
smtp          = 172.16.9.8:25
pop3          = 172.16.9.8

References:
http://www.autohotkey.com/forum/topic40720.html
http://en.wikipedia.org/wiki/INI_file

No comments: