Gautier a �crit dans le message : 390E2A20.B647D0D6@maths.unine.ch... > tmoran@bix.com wrote: > > > >made the right decision on strings when they selected counted strings for > > >Turbo Pascal/Delphi even if they are limited to 255 characters or less. > > How do those differ from > > ... is new Ada.Strings.Bounded.Generic_Bounded_Length(255); > Have a look at package Variable_String, available from http://pro.wanadoo.fr/adalog/compo2.htm > > and so on :-). IMHO the day of creation of Ada.Strings.Bounded was > a bad one... > Not at all. Variable_String is the perfect tool when you have an Abstract Data Type that you choose to *implement* as a String. For example, you may have a type Last_Name in your data base, and it makes perfect sense to implement it as a Bounded_String. You don't have one instantiation per maximum-length; you have one instantiation per abstraction. Think higher, please ;-) -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog