home *** CD-ROM | disk | FTP | other *** search
- definition module boxlib;
- from terminal import clearscreen, gotoxy, writechar;
- (* This module is TVI950-specific *)
- type
- boxtype = (WIDE, NARROW); (* box with WIDE or NARROW lines *)
- coordinate = record (* upper left corner position *)
- column : integer;
- row : integer;
- end;
-
- procedure Clear; (* Clear Screen *)
- procedure At (* Position Cursor on Screen *)
- (row, column : integer);
-
- procedure InitBox; (* Initialize - call before others *)
- procedure SetBox (* Select Type of Box (WIDE, NARROW) *)
- (selection : boxtype);
- procedure DrawBox (* Draw a Box *)
- (length, width : integer; origin : coordinate);
- end boxlib.
-
-