comp.lang.ada
 help / color / mirror / Atom feed
* Bounded_String examples/help
@ 2000-04-07  0:00 ebresie
  2000-04-07  0:00 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: ebresie @ 2000-04-07  0:00 UTC (permalink / raw)


I am in a situation where it seems a Bounded String would be
appropriately used.

I am wondering if anyone has any examples of a Bounded String?

I am trying something along the lines of

with Ada.Strings.Bounded;

Use Ada.Strings.Bounded;

package Fred is
Message_Max : constant Integer := 1000;

type Message is new Bounded_String( Message_Max);
.


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-07  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-07  0:00 Bounded_String examples/help ebresie
2000-04-07  0:00 ` Florian Weimer

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