Converting
conradwt_at_runbox.com
Date: 12/28/04
- Next message: Adrien Plisson: "Re: newbie - OOP in Ada Set and Get Methods"
- Previous message: R: "Re: newbie - OOP in Ada Set and Get Methods"
- Next in thread: Martin Dowie: "Re: Converting"
- Reply: Martin Dowie: "Re: Converting"
- Reply: Nick Roberts: "Re: Converting"
- Reply: Jeffrey Carter: "Re: Converting"
- Reply: Lady Chatterly: "Re: Converting"
- Reply: Martin Krischik: "Re: Converting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Adrien Plisson: "Re: newbie - OOP in Ada Set and Get Methods"
- Previous message: R: "Re: newbie - OOP in Ada Set and Get Methods"
- Next in thread: Martin Dowie: "Re: Converting"
- Reply: Martin Dowie: "Re: Converting"
- Reply: Nick Roberts: "Re: Converting"
- Reply: Jeffrey Carter: "Re: Converting"
- Reply: Lady Chatterly: "Re: Converting"
- Reply: Martin Krischik: "Re: Converting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]