"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 *