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.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e231a54b81077fa0 X-Google-Attributes: gid103376,public From: "M. Kotiaho" Subject: Re: type conversion question Date: 2000/08/17 Message-ID: <399C2FC6.1D8558F1@nospam.lmco.com>#1/1 X-Deja-AN: 659432124 Content-Transfer-Encoding: 7bit References: <399AF3F8.A5596932@tridsys.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: LMMFC - D Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-17T00:00:00+00:00 List-Id: Raju Vemulamanda wrote: > ... > what I am attempting to do is.... > > Text_Io.Put_Line(Vmf_File2, String'Value(new_fieldvalue)); > What you want is: Text_Io.Put_Line(Vmf_File2, Integer_32'Image(new_fieldvalue)); > vvvvvvv >> val1 : Jvmfr3_Field_Types.Size_Type := 10; ^^^^^^ Aaaaaaaah!!! Joint Variable Message Format (rev 3)!!! Sorry about that, it is just surprising (to me) to see Ada code that I have dealt with before... speaking of which, how common of an occurrence is that -- to see Ada code with which you are familiar somewhere else? Regards, MK