From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.8 required=3.0 tests=BAYES_05,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: What does this error mean and how do I correct this? Date: Sun, 3 Sep 2023 16:22:17 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Sep 2023 15:22:18 -0000 (UTC) Injection-Info: dont-email.me; posting-host="c536c190f6a3aaa5b7cec9893a5c0e45"; logging-data="1032587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GQzzw5vD1tGEGHP33/RzorNux7glIp8I=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Cancel-Lock: sha1:7SInpdM8V6x1/2Ot17Tmcew4Tv8= Content-Language: en-GB In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65585 List-Id: On 03/09/2023 15:06, Simon Wright wrote: > richardthiebaud writes: > >> Under gtkada, must procedures that handle events always be in their >> own package? > > In general, they'd need to be in _a_ package. You could group related > event handlers in a package. It's because what is beteen this: procedure test1 is and begin -- test1 is on the stack and therefore not in permanent memory.