comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier Write-only <gautier@somewhere.nil>
Subject: Re: Inc (was: Real data for a change in the assignment operators and     Bounded_String discussions. )
Date: Tue, 08 Jul 2003 06:04:51 +0200
Date: 2003-07-08T06:04:51+02:00	[thread overview]
Message-ID: <3F0A42E3.58824809@somewhere.nil> (raw)
In-Reply-To: becpjg$3o666$1@ID-175126.news.dfncis.de

> [Inc]
> >You certainly think to Borland Pascal. Yes, it was a good idea from them.
> >(Standard) Pascal has only "Succ" and "Pred".

Vinzent Hoefler:
> Yes, but note the slight semantic difference there: Inc and Dec don't
> come with range checks.

Interesting. Of course the Ada implementation would follow the
"natural" rule: range check (according to the type), unless suppressed.
Maybe a precision for readers without too much exposure to Pascal:
"Succ" and "Pred" are functions (x:= Succ(x)) like the eponym Ada attributes.
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



  reply	other threads:[~2003-07-08  4:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04  3:41 Real data for a change in the assignment operators and Bounded_String discussions Robert I. Eachus
2003-07-05  1:29 ` Inc (was: Real data for a change in the assignment operators and Bounded_String discussions. ) Alexander Kopilovitch
2003-07-07 21:31   ` Gautier Write-only
2003-07-07 21:35     ` Inc (was: Real data for a change in the assignment operators and Larry Kilgallen
2003-07-08  3:53       ` Gautier Write-only
2003-07-08 20:50       ` Alexander Kopilovitch
2003-07-07 21:42     ` Inc (was: Real data for a change in the assignment operators and Bounded_String discussions. ) Vinzent Hoefler
2003-07-08  4:04       ` Gautier Write-only [this message]
2003-07-07  4:27 ` Real data for a change in the assignment operators and Bounded_String discussions Hyman Rosen
2003-07-07  9:27   ` Georg Bauhaus
2003-07-07  9:41     ` Georg Bauhaus
2003-07-07 14:29       ` Hyman Rosen
2003-07-07 17:29         ` Georg Bauhaus
2003-07-07 19:01           ` Hyman Rosen
2003-07-07 15:49       ` Robert I. Eachus
2003-07-07 13:46     ` Hyman Rosen
2003-07-07 16:03       ` Robert I. Eachus
2003-07-07 18:52         ` Hyman Rosen
replies disabled

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