comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: Constant Record
Date: Sun, 9 Dec 2018 08:20:43 +0100
Date: 2018-12-09T08:20:43+01:00	[thread overview]
Message-ID: <5c0cc24d$0$7119$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <pugql5$1g7c$1@gioia.aioe.org>

Thanks,

Couldn't find it in Booch. It works.
Concerning the other problems you mentioned. I just made an example 
disregarding any syntax errors and not created types

L. Dries

"J-P. Rosen"  schreef in bericht news:pugql5$1g7c$1@gioia.aioe.org...

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 


  reply	other threads:[~2018-12-09  7:20 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
2018-12-09  7:20   ` ldries46 [this message]
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