home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ober1096.zip
/
libsrc
/
in.obe
< prev
next >
Wrap
Text File
|
1995-04-04
|
1KB
|
46 lines
(*===============================================================*)
(* Library Module for Gardens Point Oberon *)
(*===============================================================*)
FOREIGN MODULE In;
(** Oberon-2 library module for input *)
IS IN "in.o";
VAR
Done* : BOOLEAN;
(** Status of In procedure calls - TRUE if the operation was
successful, FALSE otherwise. *)
PROCEDURE Open*;
(** Prompts for filename and makes file standard input *)
PROCEDURE Close*;
(** Closes input file *)
PROCEDURE Char*(VAR ch : CHAR);
(** Reads character from standard input *)
PROCEDURE Int*(VAR i : INTEGER);
(** Reads integer from standard input *)
PROCEDURE LongInt*(VAR i : LONGINT);
(** Reads long integer from standard input *)
PROCEDURE Real*(VAR r : REAL);
(** Reads real from standard input *)
PROCEDURE LongReal*(VAR r : LONGREAL);
(** Reads long real from standard input *)
PROCEDURE Name*(VAR name : ARRAY OF CHAR);
(** Reads a string containing alphanumerics and periods
from standard input *)
PROCEDURE String*(VAR str : ARRAY OF CHAR);
(** Reads a string from current position to next blank
from standard input *)
END In.