home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
xc212os2.zip
/
DEF
/
inout.def
< prev
next >
Wrap
Text File
|
1994-12-22
|
724b
|
29 lines
(* Original module: N. Wirth, PIM-3, 1985 *)
DEFINITION MODULE InOut;
CONST EOL = 12C;
VAR
Done : BOOLEAN;
termCH : CHAR;
PROCEDURE OpenInput(defext: ARRAY OF CHAR);
PROCEDURE OpenOutput(defext: ARRAY OF CHAR);
PROCEDURE CloseInput;
PROCEDURE CloseOutput;
PROCEDURE Read(VAR v: CHAR);
PROCEDURE ReadString(VAR v: ARRAY OF CHAR);
PROCEDURE ReadCard(VAR v: CARDINAL);
PROCEDURE ReadInt(VAR v: INTEGER);
PROCEDURE Write(v: CHAR);
PROCEDURE WriteLn;
PROCEDURE WriteString(v: ARRAY OF CHAR);
PROCEDURE WriteCard(v: CARDINAL; w: CARDINAL);
PROCEDURE WriteInt(v: INTEGER; w: CARDINAL);
PROCEDURE WriteOct(v: CARDINAL; w: CARDINAL);
PROCEDURE WriteHex(v: CARDINAL; w: CARDINAL);
END InOut.