From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: New to Ada, noticing something strange.
Date: Fri, 30 Sep 2005 12:19:34 +0200
Date: 2005-09-30T12:18:04+02:00 [thread overview]
Message-ID: <433d10dc$0$26217$9b4e6d93@newsread2.arcor-online.net> (raw)
In-Reply-To: <1128038313.717692.268490@z14g2000cwz.googlegroups.com>
mike.martelli@gmail.com wrote:
> Ok, Randy sounds good here is my code. I also tried compiling in on
> Laptop with the latest GNAT compilier and I get the same results.
And as Randy said, the issue is with code that didn't look suspicious.
IIUC.
> function Convert2Character(strChar: String) return Character is
...
> case Integer'Value(strChar) is
...
> when others => return strChar(1);
...
> charDigit := Convert2Character(Integer'Image(charMap(charOp1) +
> charMap(charOp2) + carry));
Here, the 'Image has a space for non-negative value (or a minus sign for
negative values) in position 1.
-- Georg
next prev parent reply other threads:[~2005-09-30 10:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-29 17:20 New to Ada, noticing something strange mike.martelli
2005-09-29 18:39 ` Jeffrey R. Carter
2005-09-29 19:05 ` mike.martelli
2005-09-29 22:25 ` Randy Brukardt
2005-09-29 23:58 ` mike.martelli
2005-09-30 0:28 ` mike.martelli
2005-09-30 6:06 ` Jeffrey R. Carter
2005-09-30 6:28 ` Jeffrey R. Carter
2005-09-30 10:19 ` Georg Bauhaus [this message]
2005-09-30 16:43 ` mike.martelli
2005-09-30 6:23 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox