Converting

conradwt_at_runbox.com
Date: 12/28/04


Date: 28 Dec 2004 11:01:21 -0800

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