Re: Happy F@#^*@# Holidays!
- From: mikea <mikea@xxxxxxxxxxxx>
- Date: Thu, 13 Jan 2011 13:50:05 -0600
David Gersic <usenet_spam_trap@xxxxxxxxxxxxxxxxxxxx> wrote in <ignjjs$teb$1@xxxxxxxxxxxxxxxxxxxxxxxxxx>:
On Thu, 13 Jan 2011 11:13:24 -0600, mikea <mikea@xxxxxxxxxxxx> wrote:
As to converting bin to hex, I remember being asked multiple times why I
had a constant defined so:
TRTAB DC '0123456789ABCDEF"
by people who Really Should Have Known, and getting a "D'Oh! I wish I'd
thought of that!" after my explanation.
Did you then add a comment like "Don't ask. Think."? I would have.
(Oh, and I may be out of practice, but shouldn't the quotes be balanced?)
TRTAB DC '0123456789ABCDEF'
Does it tell you anything that I spaced to cols 10 and 16 without even
thinking about it?
I don't want to discourage people from asking, whough I do want to
encourage them to think. It's a knife-edge.
I saw a hex format routine in PL/I, once. It was lots messier, involving
pulling the next character off the hex string and using it as an index
into the same array. Ugly. And I suspect it could have been done lots
less messily. I never wrote any production PL/I, thank goodness.
--
Being a "good net neighbor" isn't just some geeky hippy touchy feely nor
politically correct concept. It's the core usability of the Internet,
and inherent in its technical designs. It's the way it works, and it
isn't going away.
.
- Follow-Ups:
- Re: Happy F@#^*@# Holidays!
- From: Seymour J.
- Re: Happy F@#^*@# Holidays!
- From: David Gersic
- Re: Happy F@#^*@# Holidays!
- From: David Taylor
- Re: Happy F@#^*@# Holidays!
- References:
- Re: Happy F@#^*@# Holidays!
- From: Sam Trenholme
- Re: Happy F@#^*@# Holidays!
- From: Maarten Wiltink
- Re: Happy F@#^*@# Holidays!
- From: Sam Trenholme
- Re: Happy F@#^*@# Holidays!
- From: mikea
- Re: Happy F@#^*@# Holidays!
- From: mikea
- Re: Happy F@#^*@# Holidays!
- From: Seymour J.
- Re: Happy F@#^*@# Holidays!
- From: mikea
- Re: Happy F@#^*@# Holidays!
- From: David Gersic
- Re: Happy F@#^*@# Holidays!
- Prev by Date: Re: Happy F@#^*@# Holidays!
- Next by Date: Re: The Edge of Wetness (was: Re: verizon (ptui!))
- Previous by thread: Re: Happy F@#^*@# Holidays!
- Next by thread: Re: Happy F@#^*@# Holidays!
- Index(es):