Anglais Francais Prosygma 

Italie
-
    hebergement 

asp
prosygma_logo



 Divers (1)  Chaînes (31)  Dates (18)  Nombres (8)  Structures (5) 
 Tableaux (6) 
array - invArray/array_reverse - join/implode - multiSort/sort - split/explode - ubound/sizeof
ARRAY 
Crée un tableau
ASP <Doc> 
<%
tableau = array(elt1,elt2,...)

response.write tableau(index)
%>

ou dim tableau(taille)

Pour augmenter la dimension d'une tableau : redim tableau(taille)

Pour ne pas perdre les valeurs des cellules en redimensionnant : redim preserve tableau(taille)
PHP <Doc> 
<?
$tableau = array(elt1,elt2,...);

echo $tableau[$index];
?>

Nul besoin de prédéclarer la taille d'un tableau... il grandira automatiquement en fonction des besoins :)
JavaScript <Doc> 
<script>
tableau = new Array(elt1,elt2,...)

document.write(tableau[index])
</script>

ou tableau = new Array(taille)
© ASP-PHP.net 11/01/2003