Category : Modula II Source Code
Archive   : M2TUTOR.ZIP
Filename : REAL2MON.DEF

 
Output of file : REAL2MON.DEF contained in archive : M2TUTOR.ZIP
DEFINITION MODULE Real2Mon;

(* Copyright (c) 1987, 1989 - Coronado Enterprises *)

EXPORT QUALIFIED WriteReal;

(* This procedure allows writing to the monitor in a fully *)
(* formatted manner (i.e. XXXXXX.XXX) instead of the scientific *)
(* notation which is available with most librarys. *)

PROCEDURE WriteReal(DataOut : REAL;
FieldSize : CARDINAL;
Digits : CARDINAL);
(* Writes a REAL to the monitor with "FieldSize" total *)
(* columns and "Digits" significant places after the *)
(* decimal point. *)

END Real2Mon.



  3 Responses to “Category : Modula II Source Code
Archive   : M2TUTOR.ZIP
Filename : REAL2MON.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/