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, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,afdd9914b38d011d,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-10-01 06:50:23 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!uunet!psinntp!hk.super.net!news.ust.hk!hpg30a.csc.cuhk.hk!eng_ser1!yschung2 From: yschung2@cuse1.se.cuhk.hk (JASON ~{UES}3I~}) Subject: Help! How to ......? Message-ID: Sender: news@eng_ser1.erg.cuhk.hk Organization: Engineering Faculty, The Chinese U. of Hong Kong Date: Sat, 1 Oct 1994 06:51:00 GMT Date: 1994-10-01T06:51:00+00:00 List-Id: Hi, I am new in writing DEC ada program. Currently I am facing a problem that I can't get the length, i_length, of an integer i by using the following assignment operation: i_length := STRING'LENGTH(INTEGER'IMAGE(i)); What did I miss? Besides, how can I convert a character in '0'..'9' to its corresponding integer value, i.e. in 1..9.? So would you please send me the solution to my e-mail address? Thanks in advance! Regards, -- _/_/_/_/_/_/ _/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/_/_/_/_/_/_/ _/ _/ _/ _/_/ _/ _/ _/_/ _/ _/ ~{UES}3I~} _/ _/ _/_/_/_/ _/_/ _/ _/ _/ _/_/ _/ yschung2@se.cuhk.hk _/ _/_/ _/ _/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/_/_/_/_/_/_/_/