HP3000-L Archives

October 1999, 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:
James Clark <[log in to unmask]>
Reply To:
James Clark <[log in to unmask]>
Date:
Wed, 13 Oct 1999 10:54:02 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
I could see possibly A000 but not 000A. Switching from base 10 to base 16 or
whatever base you ultimately settle on, you should keep the same counting
sequence. For example 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p
before you switch to the next digit 10. And if you do not sort the item then
you can do whatever you want with the value.

James

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of [log in to unmask]
Sent: Wednesday, October 13, 1999 7:33 AM
To: [log in to unmask]
Subject: Counting from 9999 to 000A?


Dear listers

I am looking for an algorithmus, which solves the following problem and
could be used within POWERHOUSE.

We have an identifier which ranges from 1-9999 (but is stored as character
in the database). We are about to reach the limit, so I would like to store
000A after 9999 and so on, rather then changing all the database structures
and depending programs.

Thank you for any help,
Friedrich

ATOM RSS1 RSS2