From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail From: "ldries46" Newsgroups: comp.lang.ada References: <5c0bea20$0$25694$e4fe514c@news.kpn.nl> In-Reply-To: Subject: Re: Constant Record Date: Sun, 9 Dec 2018 08:20:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 Message-ID: <5c0cc24d$0$7119$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 02f3bc03.news.kpn.nl X-Trace: G=5E4MPfc2,C=U2FsdGVkX194aR2tABXLd28ssRx8TZQYKvNjUEsbu6i5H4je4Iqdn4djvSmGcRgn784AHidXUEnv6LLuv/VkjD66lwcOQTX1nS0u6BHHkrg= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:54984 Date: 2018-12-09T08:20:43+01:00 List-Id: 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