comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: STRING length
Date: Wed, 15 Nov 2006 01:27:33 GMT
Date: 2006-11-15T01:27:33+00:00	[thread overview]
Message-ID: <92u6h.145525$aJ.89871@attbi_s21> (raw)
In-Reply-To: <1163544675.070347.64490@h54g2000cwb.googlegroups.com>

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



  parent reply	other threads:[~2006-11-15  1:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 22:51 STRING length markww
2006-11-14 22:24 ` Georg Bauhaus
2006-11-15  0:44   ` markww
2006-11-15  1:09     ` markww
2006-11-15  1:21       ` Ludovic Brenta
2006-11-15  1:29       ` Jeffrey R. Carter
2006-11-15  2:13         ` markww
2006-11-15  1:17     ` Ludovic Brenta
2006-11-15  1:27 ` Jeffrey R. Carter [this message]
2006-11-15 16:28 ` Martin Krischik
2006-11-16  8:25 ` Jerry
  -- strict thread matches above, loose matches on Subject: below --
1998-10-01  0:00 String Length mincus
1998-10-02  0:00 ` Pascal Obry
1998-10-02  0:00   ` Ehud Lamm
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox