dummy-link

IniFile

Reading and writing Windows-style INI files (writing not yet implemented).

Readme

IniFile.jl

IniFile IniFile IniFile Build Status

Reading and writing Windows-style INI files from Julia

Usage

Pkg.add("IniFile") # first-time only
using Inifile # load code into current session

Create IniFile

ini = IniFile()

Get defaults & sections of an IniFile

sections(ini)
defaults(ini)

Get specific key from section, return default if not found

get(ini, "section", "key", default)

Set key for section

set(ini, "section", "key", value)

Parse a *.ini file

ini = read(IniFile(), "file.ini")

Write out a *.ini file

open("file.ini", "w+") do io
    write(io, ini)
end

First Commit

11/13/2012

Last Touched

6 months ago

Commits

44 commits

Requires: