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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f55f3184e7804dc2 X-Google-Attributes: gid103376,public From: "Corey Ashford" Subject: Re: conversion Date: 1998/07/22 Message-ID: <6p5spa$il7$1@usenet.rational.com>#1/1 X-Deja-AN: 374009756 References: <35B628C1.F358EAEE@world-net.net> <6p5qq9$ifd$1@usenet.rational.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Rational Software Newsgroups: comp.lang.ada Date: 1998-07-22T00:00:00+00:00 List-Id: Corey Ashford wrote in message <6p5qq9$ifd$1@usenet.rational.com>... > >Rick wrote in message <35B628C1.F358EAEE@world-net.net>... >>how do you convert a string into an integer? >>thanks >> > >the easiest way is to use the 'value attribute. > >declare >... > foo : constant string := integer'value(some_integer_variable); >... >begin > > > oops... I reversed that foo : integer := integer'value(some_string_value);