From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: String to Integer conversion?
Date: 1998/07/31
Date: 1998-07-31T00:00:00+00:00 [thread overview]
Message-ID: <m3af5rvupw.fsf@mheaney.ni.net> (raw)
In-Reply-To: c1.2b8.2Lzh62$03A@zesi.ruhr.de
haug@localhost.ruhr.de (Haug Buerger) writes:
> i can't believe it, but i found no function in the Standard
> libs to convert a string, "123", to Integer(123). I found some
> GNAT internal functions that do it, but isn't there a standard
> way to do it?
Use the attribute Integer'Value.
declare
I : constant Integer := Integer'Value ("123");
begin
QED
next parent reply other threads:[~1998-07-31 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c1.2b8.2Lzh62$03A@zesi.ruhr.de>
1998-07-31 0:00 ` Matthew Heaney [this message]
1998-07-31 0:00 ` String to Integer conversion? daniel gaudry
[not found] ` <6ndi5d$uj3@gcsin3.geccs.gecm.com>
1998-07-31 0:00 ` Matthew Heaney
1998-07-30 0:00 ` nabbasi
1998-08-01 0:00 ` Robert Dewar
1998-08-01 0:00 ` Matthew Heaney
1998-08-02 0:00 ` Robert Dewar
1998-08-02 0:00 ` Matthew Heaney
1998-08-04 0:00 ` Robert Dewar
1998-08-04 0:00 ` Matthew Heaney
1998-08-04 0:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox