Magic.ini File Format (Magic xpa 2.x)
Magic.ini is a free-format text file. Each parameter starts on a separate line. Parameters may span more than one line. Parameters are built from a fixed identifier (name) and a variable part (value). Empty lines and remark lines may be included. The format for the file is:
[SectionName]
ParameterName = ParameterValue
.
ParameterName = ParameterValue
[SectionName]
.
;This is a remark line
Where:
[SectionName]
Sections are preceded by a section header line.
Section headers are placed within square brackets. Section headers should carry unique expressive names. Blanks are not allowed in a section header name. The section header is used when accessing parameters of the section. Use long names in order to eliminate possible conflicts between sections written by different applications. A section ends at the next section header or at the end of the file.
ParameterName
All the parameters found after a section header belong to that section. Every parameter occupies one or more lines. The ParameterName is the fixed part of the Magic.ini parameter. It is used to identify and access the variable part of the parameter. Parameter Names should be unique within a section but not across sections. Blanks are not allowed in a ParameterName name.
The parameter separator. The equal sign is the separator between the parameter identifier and the parameter value. Every character in front of the separator (excluding leading and trailing blanks) is part of the parameter identifier. Every character after the separator (excluding leading and trailing blanks) is part of the parameter’s value.
ParameterName=ParameterValue
Any value allowed for the parameter. Parameter values are determined by Magic xpa for the Magic sections and by the developer for the project sections. To span the parameter value over more than one line, append the + sign to the end of the line. Magic xpa will treat the next line as a continuation of the previous one. To explicitly specify the + symbol as part of a parameter, use the \+ combination.
; Remark lines
The ; symbol at the beginning of a line will cause Magic xpa to ignore whatever follows to the end of line.