comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: type definition for an integer with discrete range
Date: Mon, 1 Apr 2019 08:52:34 -0700 (PDT)
Date: 2019-04-01T08:52:34-07:00	[thread overview]
Message-ID: <83811f34-a797-455c-9909-e5641a88a285@googlegroups.com> (raw)
In-Reply-To: <5762bd48-9e87-4b77-a517-a4e62dec071b@googlegroups.com>

Am Montag, 1. April 2019 08:59:56 UTC+2 schrieb mario.b...@gmail.com:
> Thanks, it is nearly perfect now :-)
> The line 24 in the file 
> https://github.com/Blunk-electronic/ada_training/blob/master/src/type_angle/type_angle.adb
> Should produce an error at compile time. Apart from this "nice to have" the program does what I want.

You have to make sure that "pragma Assertion_Policy (Check);" is set.


  reply	other threads:[~2019-04-01 15:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29 16:10 type definition for an integer with discrete range mario.blunk.gplus
2019-03-29 16:34 ` tranngocduong
2019-03-29 16:46   ` mario.blunk.gplus
2019-03-30  4:17     ` tranngocduong
2019-03-30  4:19       ` tranngocduong
2019-03-29 20:24   ` Simon Wright
2019-03-29 20:51     ` mario.blunk.gplus
2019-03-29 21:24       ` Simon Wright
2019-03-30 20:44         ` mario.blunk.gplus
2019-03-30 22:13           ` Jere
2019-04-01  6:59             ` mario.blunk.gplus
2019-04-01 15:52               ` AdaMagica [this message]
2019-04-01 16:27                 ` Simon Wright
2019-04-01 16:41                   ` AdaMagica
2019-03-29 21:57       ` Dmitry A. Kazakov
2019-03-30 21:45 ` John Perry
replies disabled

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