HP3000-L Archives

May 2004, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Dave Powell, MMfab" <[log in to unmask]>
Reply To:
Dave Powell, MMfab
Date:
Fri, 7 May 2004 16:06:53 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
Two quick fixes for all  who have asked for copies of the recent version:

The 'SETVAR RTF_CNT 0' in line 164 should be -1, not 0.  Zero will give an
error if the input file uses null as a carriage control code.  This never
happens in our Cobol reports, but it can happen in $stdlist or output from
other programs.  On the next line, 256 can be changed to 255.

In 3 places where it echoes things including "![RTRIM(RHT(RTF_REC,-2))]", it
should be changed to "![RTRIM(RHT(RTF_REC+'  ',-2))].  Add a plus, then
quotes with 2 spaces inside.  This protects against input records with a
length  of 0 or 1.  Again, not in our Cobol reports, but can happen in
$stdlist.  This slows things down enough to be benchmarkable, but probably
not noticeable in the wild.

These do not apply to the slower version from a few weeks ago.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2