From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Constant Record
Date: Sat, 8 Dec 2018 17:14:34 +0100
Date: 2018-12-08T17:14:34+01:00 [thread overview]
Message-ID: <pugql5$1g7c$1@gioia.aioe.org> (raw)
In-Reply-To: 5c0bea20$0$25694$e4fe514c@news.kpn.nl
Le 08/12/2018 à 16:58, ldries46 a écrit :
> Is it possible to make a constant by
> declaring something like
> rt : constant alpha :=(5, 107.547) and
> xt : constant apha :=( -2, 547.547)
Why don't you simply try it? Ada people trust their compiler...
Except for
1) double_float should be long_float
2) apha should be alpha
3) missing semicolons
it works!
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2018-12-08 16:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-08 15:58 Constant Record ldries46
2018-12-08 16:14 ` J-P. Rosen [this message]
2018-12-09 7:20 ` ldries46
2018-12-09 8:34 ` Simon Wright
2018-12-09 20:51 ` julian.fondren
2018-12-09 21:21 ` Simon Wright
2018-12-10 18:39 ` Dennis Lee Bieber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox