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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,727dcca15457056e X-Google-Attributes: gid103376,public From: John_Lin@paramount.com (Johnny) Subject: Re: HELP HELP HELP PLEASE Ordinal Function Date: 1998/12/14 Message-ID: <367d9215.21961399@news.smartlink.net>#1/1 X-Deja-AN: 422005808 Content-Transfer-Encoding: 7bit References: <36766e02.12725046@news.smartlink.net> <367c90e5.21657479@news.smartlink.net> Content-Type: text/plain; charset=us-ascii Organization: DigiLink Network Services Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-12-14T00:00:00+00:00 List-Id: On Mon, 14 Dec 1998 04:19:20 GMT, John_Lin@paramount.com (Johnny) wrote: >On Mon, 14 Dec 1998 03:55:44 GMT, Matthew Heaney > wrote: > >>John_Lin@paramount.com (Johnny) writes: >> >>> Does anybody know the function to get the ASCII # for symbols in >>> ADA95? Thnx >> >>declare >> C : Character := ...; >>begin >> := Character'Pos (C); >>end; >> >>You can go the other way by using Character'Val (); Thank You Very Very Much, Will implement the Character'Pos tonight, Thanks to your help, Thank goodness for Usenet and nice people > > >Would you happen to know if Character'Val and Character'pos are in the >Standard IO_Text Package? My book is ADA95 by feldman and Koffman >2nd edition it does not list these functions in its text_io or >standard packages.