HP3000-L Archives

December 2003, Week 2

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:
Walter Murray <[log in to unmask]>
Reply To:
Walter Murray <[log in to unmask]>
Date:
Thu, 11 Dec 2003 14:34:00 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
 "Emerson, Tom" <[log in to unmask]> wrote:
> Hmmm... just being "nitpicky", but has it existed all this time with this
typo/bug in it?
[pointing out that the documentation incorrectly refers to the .LOC.
pseudo-intrinsic when the code correctly uses the .LEN. pseudo-intrinsic]

Tom is right, of course.  The code is right.  The text is wrong.

I keyed in the Engineering Note (A3043325) this morning from a hard copy I
had in my files from ten years ago, and the typo was in the original.  I
would be very surprised if anyone has corrected it, if indeed the EN still
exists anywhere.

Funny, I made this same mistake in a posting earlier this year, and now
here's proof I did it [at least] once in 1993 as well.  HP COBOL only has
the two pseudo-intrinsics.  You'd think I could keep them straight.  :-)

A better way to do it now would be to use the LENGTH function instead of
.LEN., but at the time I wanted a version that would work with both the CM
aand NM versions of the compiler.

Walter

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

ATOM RSS1 RSS2