Branch :
# 1.2 Tableau
Les tableaux sont de type tableau et sont multidimensionnels, comme en C.
Les valeurs littérales commencent par un transtypage de tableau et sont suivies d'un tuple.
Utilisez `List.to_array` pour convertir une `List` en type tableau.
## 1.2.1 Exemples
```
ikc3> a = (U8[]) {0, 1, 2}
(U8[]) {0, 1, 2}
ikc3> type(a)
U8[]
ikc3> a[0]
0
ikc3> a[1]
1
ikc3> a[2]
2
ikc3> Liste.vers_tableau
cfn Tableau "kc3_list_to_array" (List, Sym, Résultat)
ikc3> List.to_array([0, 1, 2], U8[])
(U8[]) {0, 1, 2}
```
---
Haut : [Documentation KC3](/doc/)
Précédent : [1.01 Introduction](1.01_Introduction)
Suivant : [1.03 Bloc](1.03_Block)