Aide:IniReadSection.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
IniReadSection
###Description###
Reads all key/value pairs from a section in a standard format .ini file.
###Syntax###
IniReadSection ( "filename", "section" )
###Parameters###
@@ParamTable@@
filename
The filename of the .ini file.
section
The section name in the .ini file.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns a 2 dimensional array where element[n][0] is the key and element[n][1] is the value.
Failure: Sets @error=1 if unable to read the section (The INI file may not exist or the section may not exist)
@@End@@
###Remarks###
A standard ini file looks like:
<i>[SectionName]
Key=Value</i>
The number of elements returned will be in $result[0][0]. If an @error occurs, no array is created.
Only the first 32767 chars are taken in account in an section due to Win9x compatibility.
###Related###
IniDelete, IniWrite, IniRead, IniReadSectionNames, IniRenameSection, IniWriteSection
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
Texte en Français
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :