Skip to main content

Library: INI File Utility SL

The INI File Utility SL library provides function blocks to read, write, and find values in INI files.

Functionality

  • Read INI files by means of the INI_Reader function block

  • Write INI files by means of the INI_Writer function block

  • Find values by means of the INI_Get function block

Description

The individual values are mapped in an array of IniFileEntry type structures. The structure has fields for section, key, value, and comment.

Supported data structures:

;Kommentar
[Sektion]
;Kommentar
Schlüssel=Wert

Maximum field length

  • Section: 100 characters

  • Key: 100 characters

  • Value: 255 characters

  • Comment: 2555 characters