comp.lang.ada
 help / color / mirror / Atom feed
From: Jeff Carter <jrcarter@acm.org>
Subject: Re: Array of bytes type
Date: 2000/05/19
Date: 2000-05-19T00:00:00+00:00	[thread overview]
Message-ID: <3925B355.6C6565E6@acm.org> (raw)
In-Reply-To: 3924E094.6B03B5BD@concentric.net

Joseph P Vlietstra wrote:
> 1. Roll my own.  For example:
>    type Byte_Array is array(Integer range <>) of
> Interfaces.Unsigned_8;

Why "Integer range <>"? Are the following likely to be meaningful or
useful?

A : Byte_Array (-350 .. -279);
B : Byte_Array (-10 .. 10);

I have generally found

type Byte_List is array (Positive range <>) of Interfaces.Unsigned_8;

useful.

-- 
Jeff Carter
"Son of a silly person."
Monty Python & the Holy Grail




  parent reply	other threads:[~2000-05-19  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-19  0:00 Array of bytes type Joseph P Vlietstra
2000-05-19  0:00 ` Marin D. Condic
2000-05-19  0:00 ` DuckE
2000-05-19  0:00 ` James S. Rogers
2000-05-19  0:00 ` Jeff Carter [this message]
2000-05-20  0:00   ` Ken Garlington
2000-05-19  0:00 ` Ken Garlington
2000-05-21  0:00   ` Robert Dewar
     [not found]     ` <8gae49$tr5$1@slb7.atl.mindspring.net>
2000-05-22  0:00       ` Marin D. Condic
2000-05-22  0:00         ` Jean-Pierre Rosen
2000-05-22  0:00         ` Ken Garlington
2000-05-22  0:00           ` David Kristola
2000-05-23  0:00             ` Paul Warren
2000-05-22  0:00           ` Marin D. Condic
replies disabled

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