Re: Ada exception block does NOT work?



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)
.



Relevant Pages

  • Re: stand or sit?
    ... coren@xxxxxxxxx (Robert S. Coren) writes: ... > I myself have never heard the "in her face" form of this idiom. ... But was it part of the most insensitive thing you've ever seen on Usenet? ... Prev by Date: ...
    (soc.motss)
  • Re: Enumeration literals and their associated functions
    ... > Robert A Duff wrote: ... They both have Green, too, which is important for Ada. ... Prev by Date: ...
    (comp.lang.ada)
  • Re: HardBound and SoftBound
    ... Robert A Duff wrote: ... but that is the simplest. ... and unset it, which was needed for IBM CEL, and to use ...
    (comp.arch)
  • Re: S-expression I/O in Ada
    ... On 09.08.10 19:05, Robert A Duff wrote: ... type Bit_Map is arrayof Boolean; ... whereas if Bit_Map is modular then you CAN do that. ...
    (comp.lang.ada)
  • Re: Something I dont understand
    ... Robert A Duff writes ... most Ada shops have in-house coding standards. ...
    (comp.lang.ada)