summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-11.mp
blob: 3189bd79ee5f9c7b7f68141c9361918071e4ee3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% --- start of displayed preamble in the book ---
input metauml
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
Class.A("Vector")()();
ClassTemplate.T("T","size: int")(A);
A.nw=(0,0);
drawObjects(A,T);
endfig;
end;