% --- start of displayed preamble in the book ---
input metaobj
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
newRandomBox.a(2cm,1cm,2mm,-1mm)
      "framed(true)", "framewidth(1mm)";
a.c=origin; drawObj(a);
endfig;
end;