comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Number into String
Date: 2000/01/06
Date: 2000-01-06T00:00:00+00:00	[thread overview]
Message-ID: <8527sm$qk1$1@nnrp1.deja.com> (raw)
In-Reply-To: 851a0e$tp7$1@green.kreonet.re.kr

In article <851a0e$tp7$1@green.kreonet.re.kr>,
  "Jeong, Lae Hyung" <lovelace@dreamwiz.com> wrote:
>     I've found !!
>
>     S : String := Integer'Image(NUM);


Good for you (finding this on your own :-). This is by the
way very much an FAQ. Someone the attributes don't show up
on the radar screen as clearly as one would hope, given how
important they are :-)

Now one more thing is that you probably want to learn is:

   S : constant String := Integer'Image (NUM);

Unless you really intend to modify S, the constant should always
be there. In general ALWAYS add the constant keyword to any
object declaration to which it can be applied.


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-01-06  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  0:00 Number into String Jeong, Lae Hyung
2000-01-06  0:00 ` David C. Hoos, Sr.
2000-01-06  0:00 ` Jeong, Lae Hyung
2000-01-06  0:00   ` reason67
2000-01-06  0:00     ` Robert Dewar
2000-01-06  0:00       ` reason67
2000-01-06  0:00         ` James S. Rogers
2000-01-06  0:00   ` Robert Dewar [this message]
2000-01-06  0:00 ` Richard D Riehle
2000-01-06  0:00 ` Jeong, Lae Hyung
2000-01-06  0:00   ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2000-01-06  0:00 mfeldman
replies disabled

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