comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: XML/Ada 1.0 - SAX - Attribute converted from String to Integer
Date: Sat, 27 Aug 2005 21:58:44 +0100
Date: 2005-08-27T21:58:44+01:00	[thread overview]
Message-ID: <m2hddbm70b.fsf@grendel.local> (raw)
In-Reply-To: 4310a326$1@news.broadpark.no

You could use Ada.Integer_Text_IO, which is a ready-prepared
instantiation; or you could try Integer'Value (your-string).

Note the latter works for any scalar type.



  reply	other threads:[~2005-08-27 20:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-27 17:29 XML/Ada 1.0 - SAX - Attribute converted from String to Integer Frank
2005-08-27 20:58 ` Simon Wright [this message]
2005-08-28 19:32 ` Georg Bauhaus
replies disabled

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