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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5b27ffedba54a4a2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-03 18:48:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!sunqbc.risq.qc.ca!newsfeed.mathworks.com!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!homer.alpha.net!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <3A9E77D4.D40FEAA@earthlink.net> <3AA151BF.C9193700@earthlink.net> Subject: Re: JGNAT and Null references X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 Message-ID: Date: Sat, 3 Mar 2001 20:46:49 -0600 NNTP-Posting-Host: 156.46.62.124 X-Complaints-To: abuse@alpha.net X-Trace: homer.alpha.net 983674032 156.46.62.124 (Sat, 03 Mar 2001 20:47:12 CST) NNTP-Posting-Date: Sat, 03 Mar 2001 20:47:12 CST Xref: supernews.google.com comp.lang.ada:5399 Date: 2001-03-03T20:46:49-06:00 List-Id: Marc A. Criley wrote in message <3AA151BF.C9193700@earthlink.net>... >Uh...it did work. Cleared up the problem just fine. That it works >doesn't totally sit well with me, since my purist mental picture of a >"constant" involves only a value, and not storage. Nonetheless, > > Null_Icon : constant Javax.swing.TabbedPanel.ref := null; > >was accepted by the AddTab procedure call. But does it run? The RM 4.6(49) says that an access parameter cannot be null, and must raise Constraint_Error. If it does run, you're using a compiler bug (or "feature"); your code won't be portable... Randy.