Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Converting Type...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 5624 of 5696
Post > Topic >>

Converting Type Characters to type string

by jedivaughn <jedivaughn14@[EMAIL PROTECTED] > Mar 30, 2008 at 01:04 PM

Hi,
 I am looking for a way to convert a group of characters to a string.
For the program I am writing I am having the user input a group of
characters and comparing them. But I also need the characters in the
form of a string later on so I can use

int := Integer'Value(str);

How would I go about doing this? From the little bit I've founding
searching this I think I may need to use the ada.character.handeling
package. But on looking through this

http://www.infeig.unige.ch/support/ada/gnatlb/a-chahan.html

I can't find out how to do what I want. I am fairly new to Ada so if
you could give some examples of how you would do this I would really
appreciate it.

Thanks,
John




 5 Posts in Topic:
Converting Type Characters to type string
jedivaughn <jedivaughn  2008-03-30 13:04:56 
Re: Converting Type Characters to type string
Pascal Obry <pascal@[E  2008-03-30 22:19:43 
Re: Converting Type Characters to type string
jedivaughn <jedivaughn  2008-03-30 14:08:53 
Re: Converting Type Characters to type string
"jimmaureenrogers@[E  2008-03-30 14:28:11 
Re: Converting Type Characters to type string
Ludovic Brenta <ludovi  2008-03-30 23:38:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 5:36:01 CDT 2008.