home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pmos2002.zip
/
DEF
/
TRACE.DEF
< prev
next >
Wrap
Text File
|
1996-09-30
|
2KB
|
53 lines
DEFINITION MODULE Trace;
(************************************************)
(* *)
(* Trace routines for Modula-2 *)
(* program development. *)
(* *)
(* Programmer: P. Moylan *)
(* Last edited: 30 September 1996 *)
(* Status: Working *)
(* *)
(************************************************)
FROM Windows IMPORT
(* type *) RowRange, ColumnRange;
PROCEDURE NYI (name: ARRAY OF CHAR);
(* Types a "not yet implemented" message. *)
PROCEDURE Pause;
(* "Press any key to continue." *)
PROCEDURE InTrace (name: ARRAY OF CHAR);
(* Types "Entering 'name'". *)
PROCEDURE OutTrace (name: ARRAY OF CHAR);
(* Types "Leaving 'name'". *)
PROCEDURE TraceOn (firstrow, lastrow: RowRange;
firstcol, lastcol: ColumnRange;
SlowDownFactor: CARDINAL);
(* Turns on tracing. The first four parameters specify the *)
(* size of a screen window to be used for trace messages. The *)
(* size of the final parameter governs how slowly the program *)
(* will run - it is needed because in many cases the trace *)
(* messages appear on the screen faster than you can read them. *)
PROCEDURE TraceOff;
(* Turns off tracing. *)
PROCEDURE TraceStatus(): BOOLEAN;
(* Says whether tracing is currently on. *)
END Trace.