[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with 64-bit numbers
[knip]
> > If you want hex IO in the OOC lib, you'll have to tell Sander about
> > it. We had a short discussion on this topic when Sander added hex IO
> > for _all_ types and shortly afterwards dropped _all_ of them.
>
> Ok, I'll mention it to Sander. Sander, are you listening? Please give
> us the ability to output (as a minimum) hexadecimal numbers.
[knip]
> Michael G.
No problem. What do you and the rest prefer? A WriteHex... method
for all the basic types, a subset with the more useful ones or a
very basic capability like
PROCEDURE (w: TextWriter) WriteHexBytes(val: ARRAY OF SYSTEM.BYTE);
I don't mind writing all of them (the module TextRiders, in which a
TextWriter is defined is completely portable across all systems, so
will have to be written only once).
Another possiblity which Michael v Acken and I discussed was to define
a separate module HexRiders as a subclass of TextRiders. Anyone that
likes this idea.
--
Sander
We get to pick tools and equipment that suit the job. We spend nearly all our
time programming ART's computer's. (~P.J.Plauger: Programming on Purpose III)