comp.lang.ada
 help / color / mirror / Atom feed
* array question
@ 2014-02-10  3:49 agent
  2014-02-10  5:39 ` Jeffrey Carter
  2014-02-10 13:40 ` Mike H
  0 siblings, 2 replies; 17+ messages in thread
From: agent @ 2014-02-10  3:49 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 17+ messages in thread
* array question
@ 1999-01-19  0:00 yukchi
  1999-01-18  0:00 ` bill
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: yukchi @ 1999-01-19  0:00 UTC (permalink / raw)


hihi,
	i want to ask a question in array.
type MY_ARRAY is array(INTEGER range <>) of FLOAT;

what is the meaning of <>, also can i replace INTEGER with
other type? such as FLOAT, BOOLEAN?

Thanks!

--
****    ****  **    **  **      ** **     ** **   **     ** ** **
****   ****** ***  ***   **    **  **     ** **  **      ** ** **
 **    **  ** ********    **  **   **     ** ** **       ** ** **
 **    ****** ********     ****    **     ** ****        ** ** **
 **    ****** ** ** **      **     **     ** ** **       ** ** **
 **    **  ** **    **      **     **     ** **  **      
****   **  ** **    **      **     ********* **   **     ** ** **
****   **  ** **    **      **       *****   **    **    ** ** **




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-02-12 16:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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 ` Matthew Heaney
1999-01-19  0:00 ` Tom Moran
1999-01-23  0:00 ` Bryan Shayne

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