comp.lang.ada
 help / color / mirror / Atom feed
From: yschung2@cuse1.se.cuhk.hk (JASON ~{UES}3I~})
Subject: Help!  How to ......?
Date: Sat, 1 Oct 1994 06:51:00 GMT
Date: 1994-10-01T06:51:00+00:00	[thread overview]
Message-ID: <yschung2.780994260@cuse73.se.cuhk.hk> (raw)

Hi,

I am new in writing DEC ada program.  Currently I am facing a problem
that I can't get the length, i_length, of an integer i by using the 
following assignment operation:

i_length := STRING'LENGTH(INTEGER'IMAGE(i));

What did I miss?

Besides, how can I convert a character in '0'..'9' to its corresponding
integer value, i.e. in 1..9.?

So would you please send me the solution to my e-mail address?

Thanks in advance!

Regards,

--
   _/_/_/_/_/_/ _/_/     _/_/_/_/ _/_/_/_/ _/    _/    _/_/_/_/_/_/_/_/_/_/
       _/     _/  _/    _/_/     _/    _/ _/_/  _/  _/     ~{UES}3I~}     _/
     _/     _/_/_/_/      _/_/  _/    _/ _/  _/_/  _/ yschung2@se.cuhk.hk _/
 _/_/     _/      _/ _/_/_/_/  _/_/_/_/ _/    _/    _/_/_/_/_/_/_/_/_/_/_/



             reply	other threads:[~1994-10-01  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-01  6:51 JASON ~{UES}3I~} [this message]
1994-10-04 18:07 ` Help! How to ......? James A. Krzyzanowski
replies disabled

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