Are there any BR! open source functions to read and write to INI files? I need it respect section headings handle duplicate labels in separate sections, roughly follow standard ini file rough standards, etc.
Perhaps in fnsnap or anywhere else...
Just thought it'd be a good idea to ask before I went to writing my own again.
-John Bowman
ACS
INI utilities?
Moderators: Susan Smith, admin, Gabriel
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
I didn't realize that there were standards for INI files! I'd love to know more. I have one tiny INI file, with only one heading in it, but I plan to expand it as I have time. I obviously made up my own rules
-- Susan
! SRA.INI 05/29/12
! Version 1.00
!
:QSRAEMPS
! The following people are allowed access to employee records.
! Everyone else will get a message saying that they are not authorized.
! Applies to: LNIMEMBR, ~STR_VIEW_MBRS
.
Bob
Carole
Carrol
Lettie
Susan
Mai
.
-- Susan
! SRA.INI 05/29/12
! Version 1.00
!
:QSRAEMPS
! The following people are allowed access to employee records.
! Everyone else will get a message saying that they are not authorized.
! Applies to: LNIMEMBR, ~STR_VIEW_MBRS
.
Bob
Carole
Carrol
Lettie
Susan
Mai
.
http://en.wikipedia.org/wiki/INI_file#C ... ensitivity
The INI file format is an informal standard for configuration files for some platforms or software. INI files are simple text files with a basic structure composed of "sections" and "properties".
The INI file format is an informal standard for configuration files for some platforms or software. INI files are simple text files with a basic structure composed of "sections" and "properties".
Code: Select all
; last modified 1 April 2001 by John Doe
[owner]
name=John Doe
organization=Acme Widgets Inc.
[database]
; use IP address in case network name resolution is not working
server=192.0.2.62
port=143
file = "payroll.dat"