comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: how to check if a string variable contains a number or string?
Date: Tue, 19 Nov 2002 09:38:30 +0000 (UTC)
Date: 2002-11-19T09:38:30+00:00	[thread overview]
Message-ID: <slrnatk1k1.ha.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: a04a773e.0211181241.4e9e13b0@posting.google.com

Sarah Thomas wrote:
> I have an array of strings that I read in from a file. I want to check
> if each element in the array is a string or if it is a number. is
> there any predefined functions that would help do that? thanks

Hint 1:
   http://www.adapower.com/lang/chartoint.html

Hint 2:
   http://www.it.bton.ac.uk/staff/je/adacraft/ch07.htm

-- 
Preben Randhol ------------------------ http://www.pvv.org/~randhol/ --
�There are three things you can do to a woman. You can love her, suffer
 for her, or turn her into literature.�  - Justine, by Lawrence Durrell



      parent reply	other threads:[~2002-11-19  9:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18 20:41 how to check if a string variable contains a number or string? Sarah Thomas
2002-11-18 21:09 ` Stephen Leake
2002-11-18 21:50   ` David C. Hoos
2002-11-19  0:44 ` sk
2002-11-19  1:21   ` Jeffrey Carter
2002-11-19  4:41     ` sk
2002-11-19 17:02       ` Jeffrey Carter
2002-11-24  0:10         ` AG
2002-11-23 20:05           ` Jeffrey Carter
2002-11-19  1:26 ` Jeffrey Carter
2002-11-19  3:19 ` SteveD
2002-11-19  9:38 ` Preben Randhol [this message]
replies disabled

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