Aide:FileGetPos.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
FileGetPos

###Description###
Retrieves the current file position.

###Syntax###
FileGetPos ( handle )


###Parameters###
@@ParamTable@@
handle
	A handle to a file previously opened with FileOpen().
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns the position offset from the beginning of the file (First index is 0).
Failure:	Returns 0 and sets @error.
@@End@@


###Remarks###
Failure returns 0 but 0 is also a valid file position so check @error to determine error conditions.

###Related###
FileSetPos, FileRead, FileReadLine, FileWrite, FileWriteLine, FileOpen


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
FileGetPos

###Description###
Retrouve la position dans le fichier courant.


###Syntax###
FileGetPos ( handle )


###Parameters###
@@ParamTable@@
handle
	Le handle d'un fichier précédemment ouvert avec FileOpen().
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne la position de l'offset par rapport au début du fichier (Le premier index est 0).
Échec:	Retourne 0 et fixe @error.
@@End@@


###Remarks###
Un échec retourne 0, mais 0 est également une position valide dans le fichier, alors vérifiez @error pour déterminer la condition d'erreur.


###Related###
<a href="FileSetPos.htm">FileSetPos</a>, <a href="FileRead.htm">FileRead</a>, <a href="FileReadLine.htm">FileReadLine</a>, <a href="FileWrite.htm">FileWrite</a>, <a href="FileWriteLine.htm">FileWriteLine</a>, <a href="FileOpen.htm">FileOpen</a>


###Example###
@@IncludeExample@@


Traducteur :TT22