Dec 092017
 
A utility to add asingle column of numbers in a text file. TP source included.

Full Description of File


ADDCOL v1.01- Free DOS util: adds a single
column of numbers in a text file. W/ Pascal
source. (c) 1993 [12/20/93] by David Daniel
Anderson - Reign Ware.


File ADDCL101.ZIP from The Programmer’s Corner in
Category Word Processors
A utility to add asingle column of numbers in a text file. TP source included.
File Name File Size Zip Size Zip Type
ADDCOL.DOC 2998 946 deflated
ADDCOL.EXE 6704 4916 deflated
ADDCOL.PAS 3288 1221 deflated
FILE_ID.DIZ 158 141 deflated
REIGNWAR.TXT 7871 3042 deflated

Download File ADDCL101.ZIP Here

Contents of the ADDCOL.DOC file







ADDCOL
Free DOS utility: adds a column of numbers in a text file
Version 1.01 - December 20, 1993
(c) 1993
by
David Daniel Anderson
Reign Ware





ADDCOL simply adds a column of numbers in a text file.

Usage: ADDCOL [ ]

ADDCOL takes one or three parameters on the command line. The first, which
is mandatory, is the name of the text file in which the numbers appear.
The other two are optional, but must both appear - and in the proper order -
if at all. The second is the column in which the left most applicable digit
appears, and the third is the width of the column of numbers. A column of
1 and width of 50 are assumed if none are given. (Wildcards not allowed.)

Example: ADDCOL phone.bil 61 4

will output for the following (if it is in a file called phone.bil):


1-718-321-0470 06/11/93 1:15 am 6 min. 0.78
1-718-939-5462 06/11/93 12:54 am 5 min. 0.65
1-617-354-5776 06/13/93 1:03 am 3 min. 0.39
1-617-354-5776 06/13/93 3:04 am 1 min. 0.13
1-508-820-7360 06/13/93 11:16 pm 12 min. 1.56
1-414-354-8670 06/13/93 11:27 pm 5 min. 0.65
1-617-354-5776 06/15/93 11:12 pm 6 min. 0.78
1-408-655-8294 06/15/93 11:42 pm 5 min. 0.65
1-508-626-2445 06/16/93 1:19 am 3 min. 0.39
1-718-321-0470 06/16/93 1:40 am 7 min. 0.91
1-617-354-5776 06/16/93 1:43 am 3 min. 0.39
1-617-354-5776 06/16/93 12:07 am 8 min. 1.04
1-508-820-7360 06/17/93 1:47 am 5 min. 0.65
1-617-354-5776 06/19/93 3:38 pm 3 min. 0.39
1-508-820-7360 06/19/93 7:47 pm 2 min. 0.26
1-508-820-7360 06/19/93 11:35 pm 6 min. 0.78
1-718-321-0470 06/19/93 11:52 pm 1 min. 0.13
1-508-820-7360 06/21/93 4:45 am 12 min. 1.56
1-718-939-5462 06/21/93 6:00 am 1 min. 0.13
1-617-354-5776 06/21/93 6:07 am 2 min. 0.26
1-617-354-5776 06/21/93 6:13 am 2 min. 0.26
1-508-820-7360 06/23/93 1:48 am 1 min. 0.13


The 22 numbers from "phone.bil" total 12.87

{------------------------------------------------------------------------------

REVISION HISTORY

v1.00 : 1993/07/14. First public release. DDA
v1.01 : 1993/12/20. Now handles lines up to 255 chars (not just 80). DDA
Added showhelp procedure, ad only shows on error. DDA

------------------------------------------------------------------------------}



 December 9, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)