Aide:IniRead.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
IniRead
###Description###
Reads a value from a standard format .ini file.
###Syntax###
IniRead ( "filename", "section", "key", "default" )
###Parameters###
@@ParamTable@@
filename
The filename of the .ini file.
section
The section name in the .ini file.
key
The key name in the in the .ini file.
default
The default value to return if the requested key is not found.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the requested key value.
Failure: Returns the <i>default</i> string if requested key not found.
@@End@@
###Remarks###
A standard ini file looks like:
<i>[SectionName]
Key=Value</i>
###Related###
IniDelete, IniWrite, FileReadLine, IniReadSection, IniReadSectionNames, IniRenameSection, IniWriteSection
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
IniRead
###Description###
Lit une valeur d'un fichier .ini de format standard
###Syntax###
IniRead ( "filename", "section", "key", "default" )
###Parameters###
@@ParamTable@@
filename
Le nom du fichier .ini
section
Le nom de la section dans le fichier .ini
key
Le nom de la clé dans le fichier .ini
default
La valeur de retour par défaut si la clé demandée n'est pas trouvée.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne la valeur de la clé demandée.
Échec: Retourne la valeur par <i>défaut</i> si la clé demandée n'est pas trouvée.
@@End@@
###Remarks###
Un fichier .ini standard ressemble à :
<i>[NomdelaSection]
clé=Valeur</i>
###Related###
<a href="IniDelete.htm">IniDelete</a>, <a href="IniWrite.htm">IniWrite</a>, <a href="FileReadLine.htm">FileReadLine</a>, <a href="IniReadSection.htm">IniReadSection</a>, <a href="IniReadSectionNames.htm">IniReadSectionNames</a>, <a href="IniRenameSection.htm">IniRenameSection</a>, <a href="IniWriteSection.htm">IniWriteSection</a>
###Example###
@@IncludeExample@@
Traducteur : cramaboule
Contributeurs (pour les modifications avant le Wiki) : Tlem