comp.lang.ada
 help / color / mirror / Atom feed
From: BrianG <me@null.email>
Subject: Re: Need Help On Ada95 Problem
Date: Sun, 12 Feb 2012 22:28:17 -0500
Date: 2012-02-12T22:28:17-05:00	[thread overview]
Message-ID: <jha00i$s2e$1@dont-email.me> (raw)
In-Reply-To: <4ea6309f-cf07-44f6-8c56-5189a0081dcc@g27g2000yqa.googlegroups.com>

On 02/09/2012 09:22 PM, Shark8 wrote:
> On Feb 9, 7:36 pm, BrianG<m...@null.email>  wrote:
>> On 02/08/2012 09:01 PM, Shark8 wrote:
>>
...
>>
>>> Meaning that they're hinting strongly that you use the CASE statement.
>>
>> I don't see why this would require either an if or a case.
>>
>
> Well, you COULD use Ada's Maps; but that's just going to do the same
> thing: you still have to define the mapping.
> You can't just index into Character (via 'POS, 'VAL and index-
> manipulation) because the mapping isn't sequential;
> or even partly-sequential in the ASCII codes.
>
> See the (3,4,5) association with (V,A,L) and (6,7,8) with (T,I,N).

Nothing to do with any of that.  It's the same function I use to Get/Put 
hexadecimal.  Definitely a case where you don't need, or want, to use 
predefined types.

(Basically what Robert presented.)

-- 
---
BrianG
000
@[Google's email domain]
.com



  parent reply	other threads:[~2012-02-13  3:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09  1:03 Need Help On Ada95 Problem Will
2012-02-09  1:51 ` Robert A Duff
2012-02-09  2:01 ` Shark8
2012-02-10  1:36   ` BrianG
2012-02-10  2:22     ` Shark8
2012-02-10  5:32       ` Alex
2012-02-10 15:19         ` Shark8
2012-02-10 15:45           ` Alex
2012-02-10 20:07           ` Robert A Duff
2012-02-12 19:40             ` Will
2012-02-12 19:42               ` Will
2012-02-12 22:26               ` Robert A Duff
2012-02-13  0:41                 ` Will
2012-02-13  0:43                 ` Nasser M. Abbasi
2012-02-10  5:45       ` Alex
2012-02-10 13:29         ` Robert A Duff
2012-02-10 13:50           ` Alex
2012-02-10 14:30             ` Robert A Duff
2012-02-10 15:32               ` Alex
2012-02-10 20:03                 ` Robert A Duff
2012-02-13  3:28       ` BrianG [this message]
2012-02-10  8:47   ` Simon Wright
2012-02-09  3:38 ` Alex
     [not found]   ` <90a10801-440b-4a31-88d0-f0f7c17137f1@eb6g2000vbb.googlegroups.com>
2012-02-09 13:35     ` Alex
replies disabled

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