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-Thread: 103376,733faa8b7b00c147 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news.uni-jena.de!not-for-mail From: Adrian Knoth Newsgroups: comp.lang.ada Subject: Re: basic ada question Date: Fri, 19 Aug 2005 17:55:28 +0000 (UTC) Organization: loris.TV Message-ID: References: NNTP-Posting-Host: ppc201.mipool.uni-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: lc03.rz.uni-jena.de 1124474128 10347 141.35.13.101 (19 Aug 2005 17:55:28 GMT) X-Complaints-To: abuse@uni-jena.de NNTP-Posting-Date: Fri, 19 Aug 2005 17:55:28 +0000 (UTC) User-Agent: slrn/0.9.8.1 (Debian) Xref: g2news1.google.com comp.lang.ada:4198 Date: 2005-08-19T17:55:28+00:00 List-Id: Randy wrote: > Ada.float_Text_IO.Get ( Item => P); > > I was wondering about the "Item=>." > This is not (not yet anyway) explained and I was wondering if someone > could tell me more about why/how to use it? It is a named parameter. You can use it to rearrange the order of your parameters when calling a function/procedure. Imagine something like this: procedure foo (param1: in t1; param2: in t2; param3: in t3) So you can call foo with foo (a, b, c) where a has type t1, b has type t2 and c has type t3. You might want to use a different order, so use named parameters: foo (param2 => b, param1 => a, param3 => c); There is more to tell about named parameters, just go on reading your book. > It seems to be optional and not required. You're not forced to use named parameters. It's just a feature to ease your life ;) > Thanks BTW: your postings sucks pretty much: no valid From, non-unique message-ID (no fqdn). Perhaps you can correct this. -- mail: adi@thur.de http://adi.thur.de PGP: v2-key via keyserver Die W�rde des Menschen ist unauffindbar.