Informatyka 8, 22.11.2007

listopad 22, 2007

Dotad zapisywalismy tablice np. tak:
const n=100;
var A:array [1..n] of integer;

teraz chcemy zapisac “array [1..n] of integer;” pod jedna nazwa. Robimy to tak:
const n=100
type tablica=array [1..n] of integer

I tablice potem definiujemy tak:
var A:tablica

Czytaj resztę wpisu »