Version2.0/INI Files

Last-modified: 2009-03-28 (土) 15:30:16
  • Table INI.load(filename)
    Load an INI file and create a table with it
    filename (String): file to load
  • Void INI.save(filename, tab)
    Save a table in an INI file
    filename (String): file to load
    tab (Table): table to save

Exemple :

An INI file contains :
[infos]
name=toto
age=25

tab = INI.load(“myfile.ini”)
tab[“infos”][“name”] = “tata”
INI.save(“myfile.ini”, tab)

This exemple change the line name=toto into name=tata.