comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Hex to Dez conversion?
Date: 1996/06/09
Date: 1996-06-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.834358555@schonberg> (raw)
In-Reply-To: 31bb2122.5a455349@zesi.ruhr.de


Haug asks

"Hi,

    has anybody code to convert a string with a hex number to an
integer? I think Ada 95 has lots of possibilities with charsets
and conversion functions. Has anybody code that uses it?
"

Most obvious answer use get from a string to read the number in hex
(adding 16# at the start and # at the end), and that will do it!





  reply	other threads:[~1996-06-09  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-09  0:00 Hex to Dez conversion? Haug Buerger
1996-06-09  0:00 ` Robert Dewar [this message]
1996-06-10  0:00 ` Walter B. Hollman Sr.
1996-06-10  0:00 ` Mark A Biggar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox