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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4e0df1f3e9a1ac5d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!z9g2000yqz.googlegroups.com!not-for-mail From: George Newsgroups: comp.lang.ada Subject: Re: SPARK: Problem with using constants in a post annotation Date: Thu, 13 Jan 2011 03:15:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <43b029c8-aaff-4f5b-b485-a32bc598863e@z9g2000yqz.googlegroups.com> References: NNTP-Posting-Host: 155.207.113.40 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1294917357 13257 127.0.0.1 (13 Jan 2011 11:15:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 13 Jan 2011 11:15:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z9g2000yqz.googlegroups.com; posting-host=155.207.113.40; posting-account=6UhNNwoAAAAqPvbGV2FILHuA9mXqxy3m User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17385 Date: 2011-01-13T03:15:57-08:00 List-Id: I can modify the question of the problem: If we have to use a global variable in a post annotation, we must use first own and global annotations, so that the variable is visible to the post annotation. However, this cannot be done with constants. So, how can I use a constant in a post annotation (the constant is declared in the same package that is annotated)?