unit
Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TMatrix =
array
[
0..2
,
0..2
]
of
Byte
;
TForm1 =
class
(TForm)
procedure
FormCreate(Sender: TObject);
private
public
end
;
var
Form1: TForm1;
arr_matrix:
array
of
TMatrix;
implementation
{$R *.dfm}
procedure
TForm1
.
FormCreate(Sender: TObject);
begin
SetLength(arr_matrix,
20
);
arr_matrix[
0
][
0
][
0
]:=
000
;
arr_matrix[
0
][
1
][
1
]:=
011
;
arr_matrix[
1
][
0
][
0
]:=
100
;
arr_matrix[
1
][
1
][
1
]:=
111
;
arr_matrix[
2
][
0
][
0
]:=
200
;
arr_matrix[
2
][
1
][
1
]:=
211
;
end
;
end
.