* add string to an array
@ 2006-02-21 6:05 isaac2004
2006-02-21 6:57 ` BONNIN Hugues
2006-02-21 18:41 ` Martin Krischik
0 siblings, 2 replies; 4+ messages in thread
From: isaac2004 @ 2006-02-21 6:05 UTC (permalink / raw)
hello
how would i take an inputted string and out every character into a cell
of an array?
thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add string to an array
2006-02-21 6:05 add string to an array isaac2004
@ 2006-02-21 6:57 ` BONNIN Hugues
2006-02-21 23:53 ` Jeffrey R. Carter
2006-02-21 18:41 ` Martin Krischik
1 sibling, 1 reply; 4+ messages in thread
From: BONNIN Hugues @ 2006-02-21 6:57 UTC (permalink / raw)
isaac2004 a �crit :
> hello
> how would i take an inputted string and out every character into a cell
> of an array?
> thanks
>
a string IS an array.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add string to an array
2006-02-21 6:05 add string to an array isaac2004
2006-02-21 6:57 ` BONNIN Hugues
@ 2006-02-21 18:41 ` Martin Krischik
1 sibling, 0 replies; 4+ messages in thread
From: Martin Krischik @ 2006-02-21 18:41 UTC (permalink / raw)
isaac2004 wrote:
> hello
> how would i take an inputted string and out every character into a cell
> of an array?
> thanks
Which type of String do you mean:
http://en.wikibooks.org/wiki/Ada_Programming/Strings
Of corse: fixed strings are the easiest: they are allready arrays - for all
the others it's: To_String.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add string to an array
2006-02-21 6:57 ` BONNIN Hugues
@ 2006-02-21 23:53 ` Jeffrey R. Carter
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey R. Carter @ 2006-02-21 23:53 UTC (permalink / raw)
BONNIN Hugues wrote:
> isaac2004 a �crit :
>
>> how would i take an inputted string and out every character into a cell
>> of an array?
>
> a string IS an array.
And each element of that array is a Character.
--
Jeff Carter
"Death awaits you all, with nasty, big, pointy teeth!"
Monty Python & the Holy Grail
20
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-21 23:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-21 6:05 add string to an array isaac2004
2006-02-21 6:57 ` BONNIN Hugues
2006-02-21 23:53 ` Jeffrey R. Carter
2006-02-21 18:41 ` Martin Krischik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox