HP3000-L Archives

August 1998, 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:
Guenter Kuhn <[log in to unmask]>
Reply To:
Date:
Sun, 2 Aug 1998 06:14:10 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
In einer eMail vom 02.08.98 05:26:37 MEZ,  schreibt [log in to unmask]:

<< Okay, pardon this dumb question, but my brain has frozen solid for
 today.

 According to the extremely ambiguous info, we need to set the 14th
 and/or 15th bits of the VSETNEXTCENTURY JCW in order to enable certain
 VPLUS Y2K behaviors.  (All other bits must be reset.)

 How does one do this using the SETJCW command?

 I thought it would be "SETJCW VSETNEXTCENTURY WARN", but that doesn't
 work.
 (Of course, I'm not sure what the manual considers the LSB to be.
 Either we're talking about 16,384 or 4, but we're not seeing happy on
 either choice.)

 *** To set bit 15 use SETJCW VSetNextCentury 1
 *** To set bit 14 use SETJCW VSetNextCentury 2
 *** To set bit 14 & 15 use SETJCW VSetNextCentury 3
 *** Isn't it simple ?

 Of course, this spins off two other questions:

 1. Isn't there some sort of binary prefix operator like there is for
 octal and hex?
 "SETJCW VSETNEXTCENTURY B010000000000000" would be pretty nifty.

 2. WHY in the world was SETTING BITS determined to be a Good Way To Do
 It?
 Wouldn't something like "SETJCW VSETNEXTCENTURY 1" and "SETJCW
 VSETSIGDIGITS 4" be easier to understand?
  >>

Regards,

Günter Kuhn
Dortmund, Germany


ATOM RSS1 RSS2