Aide:UBound.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
UBound
###Description###
Returns the size of array dimensions.
###Syntax###
UBound ( Array [, Dimension] )
###Parameters###
@@ParamTable@@
Array
The array variable which is being queried.
Dimension
[optional] Which dimension of a multi-dimensioned array to report the size of. Default is 1, which is the first dimension. If this parameter is 0, the number of subscripts in the array is returned.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the size of the array dimension.
Failure: Returns 0 and sets @error:
1 = Array given is not an array.
2 = Array dimension is invalid.
@@End@@
###Remarks###
Remember that the value returned by UBound is one greater than the index of an array's last element!
###Related###
<a href="../keywords/Dim.htm">Dim</a>, <a href="../keywords/ReDim.htm">ReDim</a>
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
UBound
###Description###
Retourne la taille des dimensions d'un tableau.
###Syntax###
UBound ( Array [, Dimension] )
###Parameters###
@@ParamTable@@
Array
La variable tableau à examiner.
Dimension
[optionnel] Une des dimensions d'un tableau multi-dimension dont il faut trouver la taille. Par défaut 1, qui est la première dimension. Si ce paramètre est 0, le nombre d'indices dans le tableau est retourné.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne la taille d'une dimension d'un tableau.
Échec: Retourne 0 et fixe @error.
1 = La variable n'est pas un tableau.
2 = La dimension du tableau est invalide.
@@End@@
###Remarks###
Rappelez-vous que la valeur retournée par UBound est supérieur de 1 à l'indice du dernier élément du tableau !
###Related###
<a href="../keywords/Dim.htm">Dim</a>, <a href="../keywords/ReDim.htm">ReDim</a>
###Example###
@@IncludeExample@@
Traducteur : Jerome
Contributeurs (pour les modifications avant le Wiki) : Tlem