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,FREEMAIL_FROM,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3a02b7ce112ec668,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Rick Santa-Cruz" Newsgroups: comp.lang.ada Subject: Strings as Parameters Date: Tue, 5 Oct 2004 01:11:42 +0200 Organization: T-Online Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1096931519 01 30052 KNrmXuoJef-IPZe 041004 23:11:59 X-Complaints-To: usenet-abuse@t-online.de X-ID: Z6QI90ZYrehho8uX1DyO7+J+lz1FuoyUDFVd+jmh-gjecq3x83aBcz X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Xref: g2news1.google.com comp.lang.ada:4682 Date: 2004-10-05T01:11:42+02:00 List-Id: Hi, I really have a super easy question: If in a subprogram I wanna use a variable of type String then I always have to specify, how long this String will be... for example the following way: procedure Main is S: String(1..10); begin ... end Main; But if I use a String as a Parameter of a function or procedure I don't have to specify the range. That means I can just write a procedure like this: procedure Test_It(S: String) is begin ... end Test_It; What is the technical detail behind this? And why is such possible? Thanks in advance, Rick