Cours NF01
Cours

Exemples

Déclarations

type

  Tableau = array [1..10,1..20] of integer ;

  Point = array [1..50,1..50,1..50] of real ;

  Matrice = array [1..M,1..N] of real ;

  Carte = array [1..M] of array [1..N] of real ;

var

  lieu : Carte;

accès à un élément

lieu[i][j] ou lieu[i,j]

Exemple completTableau à 2 dimensions
AccueilRéalisé avec SCENARI