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,7bf23c8e794b6462 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: STRING length References: <1163544675.070347.64490@h54g2000cwb.googlegroups.com> In-Reply-To: <1163544675.070347.64490@h54g2000cwb.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <92u6h.145525$aJ.89871@attbi_s21> NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1163554053 12.201.97.213 (Wed, 15 Nov 2006 01:27:33 GMT) NNTP-Posting-Date: Wed, 15 Nov 2006 01:27:33 GMT Date: Wed, 15 Nov 2006 01:27:33 GMT Xref: g2news2.google.com comp.lang.ada:7463 Date: 2006-11-15T01:27:33+00:00 List-Id: markww wrote: > > type MY_RECORD is > record > m_strName : STRING(1..5); > m_strPhone : STRING(1..5); > m_strAddress : STRING(1..5); > end record; String is a 1D array type, and all 1D array objects in Ada have a fixed length. This is pretty basic Ada. I'd suggest you work through one of the tutorials at adapower.com or adaworld.com, and perhaps look at some of the on-line textbooks before proceeding. -- Jeff Carter "Help! Help! I'm being repressed!" Monty Python & the Holy Grail 67