comp.lang.ada
 help / color / mirror / Atom feed
From: jedivaughn <jedivaughn14@gmail.com>
Subject: Converting Type Characters to type string
Date: Sun, 30 Mar 2008 13:04:56 -0700 (PDT)
Date: 2008-03-30T13:04:56-07:00	[thread overview]
Message-ID: <45128c93-6001-47bd-9feb-d82ac04a5515@k13g2000hse.googlegroups.com> (raw)

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



             reply	other threads:[~2008-03-30 20:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30 20:04 jedivaughn [this message]
2008-03-30 20:19 ` Converting Type Characters to type string Pascal Obry
2008-03-30 21:08   ` jedivaughn
2008-03-30 21:28     ` jimmaureenrogers
2008-03-30 21:38     ` Ludovic Brenta
2008-03-30 21:48   ` Georg Bauhaus
2008-03-30 23:52     ` jedivaughn
2008-03-31  3:04       ` george.priv
2008-03-31  4:00         ` tmoran
2008-03-31  8:54           ` Ludovic Brenta
2008-03-31  9:59             ` Dmitry A. Kazakov
2008-03-31 10:59               ` Jean-Pierre Rosen
2008-03-31 13:50                 ` jedivaughn
2008-03-31 14:11                   ` Ludovic Brenta
2008-03-31 14:21                   ` Dmitry A. Kazakov
2008-03-31 14:44                     ` jedivaughn
2008-03-31 15:41                       ` Adam Beneschan
2008-03-31 20:26                         ` Maciej Sobczak
2008-03-31 22:06                           ` Georg Bauhaus
2008-03-31 22:33                           ` Adam Beneschan
2008-04-01  1:00                             ` jedivaughn
2008-04-01  5:34                               ` Simon Wright
2008-04-01 11:22                                 ` jedivaughn
2008-04-01 12:00                                   ` jimmaureenrogers
2008-04-01 13:22                                     ` jedivaughn
2008-04-01 17:03                                       ` Adam Beneschan
2008-04-01 21:11                                   ` Simon Wright
2008-04-01 22:22                                     ` jedivaughn
2008-04-03  5:54                                   ` tmoran
2008-04-03 14:38                                     ` Adam Beneschan
2008-04-01 16:58                               ` Adam Beneschan
2008-03-31 15:45                       ` Dmitry A. Kazakov
replies disabled

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