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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: confusion about message passing between the tasks Date: Sun, 26 Oct 2014 11:20:08 +0100 Organization: A noiseless patient Spider Message-ID: References: <8578e593-1a64-4d0f-9033-f20eef90c731@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 26 Oct 2014 10:20:02 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ccad6836240abaf72f72a13f8d01711f"; logging-data="26178"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19284TOyLGc609RewbHUYp3aM4Hh5qTNrI=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <8578e593-1a64-4d0f-9033-f20eef90c731@googlegroups.com> Cancel-Lock: sha1:Pf/tS01a/gryijbJ2Xcgfq3RZRs= Xref: news.eternal-september.org comp.lang.ada:22747 Date: 2014-10-26T11:20:08+01:00 List-Id: On 26.10.14 01:26, compguy45@gmail.com wrote: > 23 accept Get (Value : out Integer) do > 24 put("Value of parametar passed in is ");put(Value); > --Why am i getting zero printed??? That's a coincidence: the parameter is passed in mode "out", meaning that its value is to be established during Get, but not expected to be anything known, within Get, before that. Do you have some time left in order to become somewhat more familiar with these basics such as the mode of parameters?