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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,adffcebfdb83c726,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-06 07:28:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!news.uv.es!news.upv.es!not-for-mail From: "Pedro Jose Garcia Gil" Newsgroups: comp.lang.ada Subject: float2string Date: Wed, 6 Mar 2002 16:19:06 +0100 Organization: Universidad Politecnica de Valencia Message-ID: Reply-To: "Pedro Jose Garcia Gil" NNTP-Posting-Host: pggil.isa.upv.es X-Trace: polaris.cc.upv.es 1015427978 18939 158.42.16.82 (6 Mar 2002 15:19:38 GMT) X-Complaints-To: newsmaster@upv.es NNTP-Posting-Date: 6 Mar 2002 15:19:38 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:20861 Date: 2002-03-06T15:19:38+00:00 List-Id: Hello. I want to send a float by the serial port. In C, I use the function "buffer=fcvt(source,7,&decimal,&signo);". I have tried to import this function from C to Ada95, but I have had problems with the char pointer (char *buffer). I don't know how to manage with the equivalent in Ada to a char pointer. Can I convert a float to a string in Ada?. How?. Thank you very much. Pedro.