comp.lang.ada
 help / color / mirror / Atom feed
From: conradwt@runbox.com
Subject: Converting
Date: 28 Dec 2004 11:01:21 -0800
Date: 2004-12-28T11:01:21-08:00	[thread overview]
Message-ID: <1104260481.548435.238280@f14g2000cwb.googlegroups.com> (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




             reply	other threads:[~2004-12-28 19:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-28 19:01 conradwt [this message]
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
replies disabled

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