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,2746dae4f161c04e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-21 04:26:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!cert.uni-stuttgart.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Gtkada-Prob Date: 21 Nov 2001 13:24:45 +0100 Organization: RUS-CERT, University of Stuttgart, Germany Sender: rusfw@mercury.rus.uni-stuttgart.de Message-ID: References: <20011121.053507.496987743.3460@web.de> <20011121.113942.76065818.1437@web.de> <20011121.115713.706043324.1437@web.de> NNTP-Posting-Host: mercury.rus.uni-stuttgart.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: hornet.rus.uni-stuttgart.de 1006345462 12464 129.69.1.226 (21 Nov 2001 12:24:22 GMT) X-Complaints-To: abuse@cert.uni-stuttgart.de NNTP-Posting-Date: Wed, 21 Nov 2001 12:24:22 +0000 (UTC) User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:16787 Date: 2001-11-21T13:24:45+01:00 List-Id: Preben Randhol writes: > procedure Get_Arguments is > begin > if Get_Active (Window1.Checkbutton1) = True then > rip_args(1) := new String'("-Z"); > elsif > Get_Active (Window1.Checkbutton2) = True then > rip_args(2) := new String'("-Y"); > elsif > Get_Active (Window1.Radiobutton1) = True then > rip_args(4) := new String'("-w"); > end Get_Arguments; In addition, the program logic is only correct if Cechkbutton1 and Checkbutton2 are actually radio buttons, too.