From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e2413c4fccb33dbc,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p59g2000hsd.googlegroups.com!not-for-mail From: jedivaughn Newsgroups: comp.lang.ada Subject: determining input data type Date: Fri, 17 Oct 2008 17:48:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 69.89.188.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1224290938 4773 127.0.0.1 (18 Oct 2008 00:48:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 18 Oct 2008 00:48:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p59g2000hsd.googlegroups.com; posting-host=69.89.188.29; posting-account=X-qixgoAAABoVi_eyPVjiIWnxAlQQdU1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8163 Date: 2008-10-17T17:48:57-07:00 List-Id: Hi, How is the best way to determine the type of input. I have the input coming in through a string but if the contents of the string is an integer then I want to convert it to such. This seems like it should be very easy to do but I can't seem to find out how to do it any where. Thanks, John