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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e2776c05028676e X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Why Ada is not the Commercial Lang of Choice Date: 1997/06/19 Message-ID: #1/1 X-Deja-AN: 251164477 References: <33A7FBFF.29D2@mitre.org> <5o9eca$aoi$1@goanna.cs.rmit.edu.au> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1997-06-19T00:00:00+00:00 List-Id: In article <5o9eca$aoi$1@goanna.cs.rmit.edu.au>, Dale Stanbrough wrote: >We shouldn't of course forget the option of using underscores in numeric >literals, which to my continual amazement, no other language that i know of >has! Yeah, that's one of my pet peeves, too. How many times have I read code containing 10000000, and I have to use a magnifying glass to count, to see whether that's a million, or ten million! 10_000_000 is so vastly much more readable. > Mem_Map: Integer; > for Mem_Map'Address use 16#B010_0040#; By the way, this will typically need a To_Address call, since in many implementations, type Address is not an integer type. The RM recommends a private type, which I think is sensible. - Bob