vbscript – Array / LBound / UBound

**FUNCTION:** `Array(…) / LBound(array) / UBound(array)`

**Description**
Crée un tableau (`Array`) et obtient les bornes inférieure/supérieure (index) avec `LBound`/`UBound`.

**Syntax**
`Array(…) / LBound(array) / UBound(array)`

**Paramètres**
– `array` : Tableau VBScript.

**Retour**
Index (Integer/Long) pour LBound/UBound.

**Exemples**
« `vb
Dim a
a = Array(« x », »y », »z »)
WScript.Echo LBound(a) &  » ..  » & UBound(a)
« `

**Output :** `0 .. 2`

**Voir aussi**
`Split`, `Join`

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *