Re: Ada exception block does NOT work?
- From: Simon Wright <simon@xxxxxxxxxxxx>
- Date: Sun, 21 Aug 2005 12:18:54 +0100
Robert A Duff <bobduff@xxxxxxxxxxxxxxxxxxxx> writes:
> type Stack_Index is range 1..whatever;
> subtype Stack_Count is Stack_Index'Base range 0..whatever;
Now I see it this idiom is obvious .. thanks!
> type Stack(Max: ...) is limited
> record
> Top: Stack_Count := 0; -- points to the top element of the stack
> Elements: Element_Array(1..Max);
> end record;
>
> Do you think "points to" is confusing in the above comment?
Yes, a bit (sorry)
.
- Follow-Ups:
- Re: Ada exception block does NOT work?
- From: tmoran
- Re: Ada exception block does NOT work?
- References:
- Ada exception block does NOT work?
- From: bubble
- Re: Ada exception block does NOT work?
- From: Georg Bauhaus
- Re: Ada exception block does NOT work?
- From: bubble
- Re: Ada exception block does NOT work?
- From: Jeffrey R. Carter
- Re: Ada exception block does NOT work?
- From: Maciej Sobczak
- Re: Ada exception block does NOT work?
- From: Jeffrey R. Carter
- Re: Ada exception block does NOT work?
- From: Maciej Sobczak
- Re: Ada exception block does NOT work?
- From: Robert A Duff
- Re: Ada exception block does NOT work?
- From: Jeffrey R. Carter
- Re: Ada exception block does NOT work?
- From: Robert A Duff
- Re: Ada exception block does NOT work?
- From: Jeffrey R. Carter
- Re: Ada exception block does NOT work?
- From: Robert A Duff
- Re: Ada exception block does NOT work?
- From: Frank J. Lhota
- Re: Ada exception block does NOT work?
- From: Robert A Duff
- Ada exception block does NOT work?
- Prev by Date: Re: Ada exception block does NOT work?
- Next by Date: Re: Ada exception block does NOT work?
- Previous by thread: Re: Ada exception block does NOT work?
- Next by thread: Re: Ada exception block does NOT work?
- Index(es):
Relevant Pages
|