home *** CD-ROM | disk | FTP | other *** search
- ;
- ROMAN.COM
-
- Size (recs) CRC Version Author/Latest Issue Disk
- ROMAN.30M 2k (12) 5A5D 1.00 Gene Pizzetta 6/91 Z3COM10
- ROMAN.4OM 2k (16) 4000 1.00 Gene Pizzetta 6/91 Z3COM10
- ROMAN.COM 2k (12) 1C5F 1.00 Gene Pizzetta 6/91 Z3COM10
-
- 1- Syntax 2- Notes
-
-
- ROMAN is a Z'ified version of ROMAN.COM (original by M. Pedder, 10/10/78)
- which converts between decimal numbers and Roman numerals. It works either
- from the command line or in interactive mode. The standard COM file version
- should run just fine under vanilla CP/M. Type-3 and type-4 versions are also
- included.
- :1
- Syntax ROMAN {number}
-
- The number can be either decimal (1 to 3999) or Roman (I to MMMCMXCIX). If
- no number is given on the command line, ROMAN enters interactive mode and
- prompts for one. Interactive mode can be exited with a ^C.
-
- Roman numerals recognized are:
- I = 1
- V = 5
- X = 10 /Roman numerals above 1000 are not available in the
- L = 50 ASCII character set, which is the reason for the
- C = 100 limitation./
- D = 500
- M = 1000
-
- ROMAN does not try to compensate for all forms of ignorance. It will, for
- instance, accept Roman numerals that are not really correct. As an example,
- "MCMC" will yield a result of 2000, which should actually be written "MM".
- However, attempts at two successive subtractions are detected, so that "XIIX"
- will yield an "Invalid Roman numeral!" message, instead of 18. Illegal
- characters and numbers that are too large are also detected.
- :2
- ROMAN Notes - 1/2
-
- a. Vs 1.0 updates (6/1/91, Gene Pizzetta):
- - Added ability to convert from Roman numerals to decimal.
- - Standard COM file now runs under vanilla CP/M.
-
- b. Vs 0.4 updates (not released, 5/31/91, Gene Pizzetta):
- - Several code changes, but no new features.
- - No longer sends control characters to the screen.
- - Converted to Zilog mnemonics.
- - Added type-4 version.
-
- c. Vs 0.3a updates (04/07/90, Gene Pizzetta):
- - Fixed minor bug that caused strange behavior if a character less than
- '0' was entered.
-
- d. Vs 0.3 updates (04/01/90, Gene Pizzetta):
- - Converted to ZCPR3 utility.
- Extensively modified screen displays.
- Added command line mode and usage message.
- ROMAN Notes - 2/2
-
- e. Vs 0.2a updates (02/13/83, D. McLanahan):
- - Modified for CP/M.
-
- f. Vs 0.2 updates (10/10/78, M. Pedder):
- - From SIG/M disk volume 75