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.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c78d647a27bc3e1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-27 07:18:44 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swiss.ans.net!newsgate.watson.ibm.com!watnews.watson.ibm.com!karthurs From: karthurs@vnet.ibm.com (Keith Arthurs) Newsgroups: comp.lang.ada Subject: Re: How to convert string 2 int... Date: Tue, 27 Sep 1994 13:48:55 GMT Organization: McDonnell Douglas Corporation Message-ID: <19940927.094855.631@vnet.ibm.com> Reply-To: karthurs@vnet.ibm.com (Keith Arthurs) NNTP-Posting-Host: wmavm7.gburg.ibm.com Date: 1994-09-27T13:48:55+00:00 List-Id: In article , on Mon, 26 Sep 1994 14:22:17 GMT, Paul Baptista writes: >I'm starting to learn ADA. I know with other languages we can convert >a character variable to an integer. I was wonder can ADA do this? > [snip] > >Pauloo > >bub@cis.umassd.edu You could use the 'Value attribute for converting String to Integer. Look up 'Value in section 3.5.5 in the LRM. Keith Arthurs McDonnell Douglas Corporation Disclaimer: De vus her ur net deup en yuns uv mhik denhuld uhglus