comp.lang.ada
 help / color / mirror / Atom feed
From: lga@unconfigured.xvnews.domain (Laurent Gasser)
Subject: Re: ADA - VHDL
Date: 1996/07/10
Date: 1996-07-10T00:00:00+00:00	[thread overview]
Message-ID: <4s0m0dINNgbh@maz4.sma.ch> (raw)
In-Reply-To: 4s09jq$ddn@srvr1.engin.umich.edu


In article <4s09jq$ddn@srvr1.engin.umich.edu>, pbgraham@engin.umich.edu (Paul B. Graham) writes:
> > I also see no reason for some syntax differences ("to" in VHDL, ".." in ADA)
> 
> VHDL has ascending and descending ranges.  Ada has only ascending ranges.
> I find it more convenient and understandable to write, e.g.,
> 
> 	for i in 10 downto 1 loop	-- VHDL
> 
> than
> 
> 	for i in reverse 1 .. 10 loop	-- Ada
> 
> Paul

In Ada, the range of the loop can be given by a type.
 
   for i in reverse Weekdays loop 
   
I don't know VHDL at all. Is anything similar in VHL possible?

-- 
Laurent Gasser (lga@sma.ch)
Computers do not solve problems, they execute solutions.






  reply	other threads:[~1996-07-10  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-09  0:00 ADA - VHDL P. Cnudde VH14 (8218)
1996-07-09  0:00 ` Jacques Rouillard
1996-07-10  0:00 ` Paul B. Graham
1996-07-10  0:00   ` Laurent Gasser [this message]
1996-07-11  0:00     ` P. Cnudde VH14 (8218)
1996-07-12  0:00       ` Paul B. Graham
1996-07-10  0:00   ` Robert Dewar
1996-07-11  0:00     ` Michael Feldman
1996-07-11  0:00 ` Jean-Marc Bourguet
1996-07-11  0:00 ` Jens Hansson
1996-07-11  0:00 ` Robert Dewar
1996-07-15  0:00   ` Brian "Cheebie" Merchant
1996-07-16  0:00     ` Stephen A. Bailey
1996-07-16  0:00     ` jos de laender vh14 7461
1996-07-16  0:00     ` P. Cnudde VH14 (8218)
1996-07-22  0:00     ` Nick Weavers
1996-07-12  0:00 ` Jean-Marc Bourguet
1996-07-13  0:00   ` Michael Feldman
1996-07-17  0:00 ` Chris Papademetrious
replies disabled

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