home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
TURBOM2
/
BOXDEMO.LBR
/
BOXLIBD.MOD
< prev
next >
Wrap
Text File
|
2000-06-30
|
768b
|
22 lines
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.