comp.lang.ada
 help / color / mirror / Atom feed
* Converting
@ 2004-12-28 19:01 conradwt
  2004-12-28 21:12 ` Converting Martin Dowie
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: conradwt @ 2004-12-28 19:01 UTC (permalink / raw)


Hi, I was wondering, could someone tell me the best way to convert s
string literal to a subtype.  For example,

subtype A_Type.String is Standard.String;
subtype B_Type_String is A_Type.String;

Now, I would like to convert a string literal to B_Type_String.  BTW,
the method that I'm calling requires the type B_Type_String.  Last but
least, I using the most recent version of gnat to do the compile.  If
anyone has any ideas as to the best way to resolve this issue and
reducing the number of code changes, I would be most appreciative.
Thanks in advance,

-Conrad




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

end of thread, other threads:[~2004-12-29 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-28 19:01 Converting conradwt
2004-12-28 21:12 ` Converting Martin Dowie
2004-12-28 22:52 ` Converting Nick Roberts
2004-12-29  4:43 ` Converting Jeffrey Carter
2004-12-29  5:06 ` Converting Lady Chatterly
2004-12-29 19:07 ` Converting Martin Krischik

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