PDInterpInput.mesa
Michael Plass, November 11, 1983 2:08 pm
DIRECTORY PDInterpBasic;
PDInterpInput: DEFINITIONS = BEGIN
This interface defines the input half of the PD interpreter. The interpreter is started by a call through the interface PDInterpControl, and it gets its input by calling on the routines in this interface.
Handle: TYPE = LONG POINTER TO Rep;
Rep: TYPE;
GetBlock: PROC [handle: Handle, dest: LONG POINTER, sourceIndex: INT, words: INT]
RETURNS [wordsRead: INT];
Gets the specified number of words, starting at word sourceIndex of the PD file.
ReportStatus: PROC [handle: Handle, status: PDInterpBasic.Status, queueSize: NAT, queuePosition: NAT, page, pass, sourceIndex: INT] RETURNS [abort: BOOLEAN];
Called at reasonable intervals to report on the status of the print request.
Callee returns TRUE to request abort; some additional status reports may be made after an abort is requested.
END.