home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1993-09-28 | 1.2 KB | 49 lines |
- (*
- * -------------------------------------------------------------------------
- *
- * :Module. FileOut.def
- * :Contents. Ausgaben wie mit InOut aber auf eine Datei.
- *
- * :Author. Reiner Nix
- * :Address. Geranienhof 2, 5000 Köln 71 Seeberg
- * :Address. rbnix@pool.informatik.rwth-aachen.de
- * :Copyright. Public Domain
- * :Language. Modula-2
- * :Translator. M2Amiga A-L V4.2d
- * :History. V1.0 21.11.90 M2Amiga V3.3d
- * :History. V1.1 13.08.91 M2Amiga V4.0d
- * :History. V1.2 23.08.93 erweitert um WriteHex
- *
- * -------------------------------------------------------------------------
- *)
- DEFINITION MODULE FileOut;
-
- FROM FileSystem IMPORT File;
-
-
- PROCEDURE WriteLn (VAR file :File);
-
- PROCEDURE Write (VAR file :File;
- char :CHAR);
-
- PROCEDURE WriteString (VAR file :File;
- string :ARRAY OF CHAR);
-
- PROCEDURE WriteInt (VAR file :File;
- number :LONGINT; n :CARDINAL);
-
- PROCEDURE WriteHex (VAR file :File;
- number :LONGINT; n :CARDINAL);
-
- PROCEDURE WriteCard (VAR file :File;
- number :LONGCARD; n :CARDINAL);
-
- PROCEDURE WriteBool (VAR file :File;
- boolean :BOOLEAN);
-
- PROCEDURE WriteReal (VAR file :File;
- number :REAL; m,n :CARDINAL);
-
-
- END FileOut.
-