From: tmoran@acm.org
Subject: Re: AdaYY wish list from current projects
Date: Fri, 23 Feb 2001 19:06:19 GMT
Date: 2001-02-23T19:06:19+00:00 [thread overview]
Message-ID: <Lwyl6.20745$5M5.1537638@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: slrn99cs08.ju.lutz@taranis.iks-jena.de
What's wrong with:
subtype String_Lengths is integer range 1 .. 32767;
type pstring(len : String_Lengths) is record
data : String (String_Lengths);
end record;
for pstring use record
len at 0 range 0 .. 15;
end record;
ex : pstring(Max_Length_Of_This_String);
for ex'Address use 16#00000#;
Yes, the compiler won't do your subscript range checking for you, but
you are going to import/export this data object to a non-Ada program
anyway.
next prev parent reply other threads:[~2001-02-23 19:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 20:50 AdaYY wish list from current projects Lutz Donnerhacke
2001-02-22 11:08 ` Florian Weimer
2001-02-22 13:02 ` Lutz Donnerhacke
2001-02-23 9:30 ` Florian Weimer
2001-02-23 10:12 ` Lutz Donnerhacke
2001-02-23 13:54 ` Florian Weimer
2001-02-23 14:16 ` Lutz Donnerhacke
2001-02-23 15:04 ` Florian Weimer
2001-02-23 15:15 ` Lutz Donnerhacke
2001-02-23 16:21 ` Florian Weimer
2001-02-23 16:31 ` Lutz Donnerhacke
2001-02-23 17:25 ` Florian Weimer
2001-02-26 11:22 ` Lutz Donnerhacke
2001-02-23 19:06 ` tmoran [this message]
2001-02-26 11:20 ` Lutz Donnerhacke
2001-02-23 19:06 ` tmoran
2001-02-26 11:21 ` Lutz Donnerhacke
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox