comp.lang.ada
 help / color / mirror / Atom feed
From: Mike H <postmaster@ada-augusta.demon.co.uk>
Subject: Re: array question
Date: Mon, 10 Feb 2014 13:40:49 +0000
Date: 2014-02-10T13:40:49+00:00	[thread overview]
Message-ID: <5aOMAcEhbN+SFw0R@ada-augusta.demon.co.uk> (raw)
In-Reply-To: 2migf9h07j7ll0eqk7oh3e64m1e0lv3r5r@4ax.com

In message <2migf9h07j7ll0eqk7oh3e64m1e0lv3r5r@4ax.com>, 
agent@drrob1.com writes
>I would like to define a array that can use a character as its index.
>type FSATyp is (Delim, Op, Dgt, AllElse);
>
>FsaArray : ARRAY Character range ('' .. Character'Val(255)) OF FSATyp;
>
type FsaArray_type is array (ASCII.nul .. ASCII.del) of FSATyp;
FsaArray : FsaArray_type := (others => ASCII.nul);
-- 
The thing I like best about the Internet is that no one
knows that, in reality, I am just another old dog!
Mike


  parent reply	other threads:[~2014-02-10 13:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10  3:49 array question agent
2014-02-10  5:39 ` Jeffrey Carter
2014-02-10 12:41   ` agent
2014-02-10 13:40 ` Mike H [this message]
2014-02-10 15:13   ` Mike H
2014-02-10 16:41     ` Robert A Duff
2014-02-10 17:02       ` Mike H
2014-02-11 22:25       ` agent
2014-02-12 16:48         ` Mike H
2014-02-11  1:47     ` Dennis Lee Bieber
2014-02-11 14:22       ` Mike H
  -- strict thread matches above, loose matches on Subject: below --
1999-01-19  0:00 yukchi
1999-01-18  0:00 ` bill
1999-01-19  0:00   ` David C. Hoos, Sr.
1999-01-19  0:00 ` Tom Moran
1999-01-19  0:00 ` Matthew Heaney
1999-01-23  0:00 ` Bryan Shayne
replies disabled

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