HP3000-L Archives

December 2000, 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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Mon, 11 Dec 2000 13:45:40 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
 "Emerson, Tom # El Monte" <[log in to unmask]> wrote:
>
> As I re-read this, however, I see you say, "On UX the field containing the
> COMP3 formatted data has special control characters in it ( ie:  ^L ) that
> appears as 2 chars but in reallity is only a single char."  How are you
> viewing this file to see the "^L" in the first place?  Actually, now that
I
> think about it, ^L is 12 decimal, or 0x0C in hex, which is NOT a legal
> "COMP3" value -- COMP3 is actually PACKED DECIMAL data, not pure binary
> data, and viewing COMP3 values "in hex" displays their numerical value.

You're forgetting the sign nibble.  A COMP-3 value of zero, or any positive
number with a last digit of zero would have '0x0C' as its last byte.

ATOM RSS1 RSS2