Re: How difficult is ada to learn?
- From: Duncan Sands <baldrick@xxxxxxx>
- Date: Thu, 30 Jun 2005 17:00:33 +0200
> > Most people who start with Borland Pascal miss the built-in set and
> > string data types. Ada gets the same effects with packages, but the
> > syntax is far less elegant and readable.
>
> I haven't done any Pascal in a while, so I don't remember the syntax for
> set manipulation, but Ada 2005 will have a set container type. It's an
> abstract data type, declared in a package in the normal way. It
> supports union, intersection, etc.
Don't forget that arrays of booleans automatically have "and", "xor" and "or"
defined (i.e. intersection, symmetric difference and union), so can be used for
sets.
All the best,
Duncan.
.
- References:
- How difficult is ada to learn?
- From: Sm704
- Re: How difficult is ada to learn?
- From: Gene
- Re: How difficult is ada to learn?
- From: Matthew Heaney
- How difficult is ada to learn?
- Prev by Date: Re: How difficult is ada to learn?
- Next by Date: Re: How difficult is ada to learn?
- Previous by thread: Re: How difficult is ada to learn?
- Next by thread: Re: How difficult is ada to learn?
- Index(es):
Relevant Pages
|