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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,37c1f61bd0b7914 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 03 Apr 2008 00:54:01 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Converting Type Characters to type string References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Thu, 03 Apr 2008 00:54:01 -0500 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.202.183.17 X-Trace: sv3-V3Sk+BimEB8vtTVZIww/AbpySDr18kFpud32cJrL+nXwdq1OQ4h51T6FGYJjlUO6aXRwLtQjjZ9mfxJ!u5cX1xf8dFCpZ59dc2g5s+vAnxJ4l6oyQFfFsJXIroR32F8wLLuMzoRbDwEpzD57Rnu/5lDbAavg!FwcEZ3V/q+F2dpY2enC60AS5W61LkA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.38 Xref: g2news1.google.com comp.lang.ada:20769 Date: 2008-04-03T00:54:01-05:00 List-Id: >So say I have the number '5' stored in a character >and I want that in an integer not a character or string. how would I >do that? Value : constant array(Character range '0' .. '9') := (0,1,2,3,4,5,6,7,8,9); ... X := Value(C);