PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Ini

Ini

Ini is a data notation created in 1987.

#265on PLDB 35Years Old 3.0kUsers
0Books 0Papers 13Repos

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, properties, and values. In MS-DOS and 16-bit Windows platforms up through Windows ME, the INI file served as the primary mechanism to configure operating system and installed applications features, such as device drivers, fonts, startup launchers, and things that needed to be initialized in booting Windows. Read more on Wikipedia...


Example from the web:
; 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"
Example from Linguist:
title=Mindstorms isbn=0465046290 author=Seymour Papert pubmonth=198001 subject=children computers powerful ideas LOGO education url=http://www.papert.org/
Example from Wikipedia:
GetPrivateProfileString("owner", "name", ... , "c:\\programs\\oldprogram\\dbsettings.ini");

Language features

Feature Supported Example Token
Strings
Line Comments
; A comment
;
Case Sensitivity
[subsections "areCaseSensitive"]
Assignment
[branch "master"]
remote = origin
merge = refs/heads/master
Comments
# a '#' or ';' character indicates
; a comment
Booleans ϴ
Semantic Indentation ϴ
batch.html · ini.html · self.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com