comp.lang.ada
 help / color / mirror / Atom feed
From: agent@drrob1.com
Subject: array question
Date: Sun, 09 Feb 2014 22:49:39 -0500
Date: 2014-02-09T22:49:39-05:00	[thread overview]
Message-ID: <2migf9h07j7ll0eqk7oh3e64m1e0lv3r5r@4ax.com> (raw)

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;

I'm getting an error saying that I'm missing '(' and extra ')' is
ignored.  It is also saying missing => and that strings are delimited
by double quotes.

I'm sure what I want is possible, but I seem to have the syntax wrong.

Any help would be appreciated.


             reply	other threads:[~2014-02-10  3:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10  3:49 agent [this message]
2014-02-10  5:39 ` array question Jeffrey Carter
2014-02-10 12:41   ` agent
2014-02-10 13:40 ` Mike H
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