Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog

# 4.2. INI Format

## Purpose

INI files are used to store simple configuration information for scripts.

## Description

An INI file contains of a series of sections. Each section begins with a header enclosed in '[' and ']'. Comment lines begin with ';' or '#' as the first non-whitespace character. Blank lines before a section or at the end of a section are ignored.

## Examples

A sample file is:

    [Drivers]
    Format  Library     Subroutine  Book
    mif     sdf2mif.pl  MifFormat   MifBook
    raw     sdf2raw.pl  RawFormat

    [PostProcessing]
    ps     = &SdfBatch("-pfile")
    doc    = &SdfBatch("-sdoc -Sd")