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 13:18:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3AA151BF.C9193700@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: JGNAT and Null references References: <3A9E77D4.D40FEAA@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 03 Mar 2001 21:17:53 GMT NNTP-Posting-Host: 158.252.122.154 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 983654273 158.252.122.154 (Sat, 03 Mar 2001 13:17:53 PST) NNTP-Posting-Date: Sat, 03 Mar 2001 13:17:53 PST Xref: supernews.google.com comp.lang.ada:5397 Date: 2001-03-03T21:17:53+00:00 List-Id: Stephen Leake wrote: > > "Marc A. Criley" writes: > > > What > > do I provide as a "null argument" in JGNAT? I was hoping to find some > > sort of predefined "null_reference" constant, analogous to > > System.Null_Address, but no such luck. > > You can't pass "null", in any form. Defining it as a constant won't > work; the compiler is smarter than that! > 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. Marc