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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e07818d50a32cdd7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-03 16:26:04 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.mi.home.com.POSTED!not-for-mail From: "McDoobie" Subject: Re: Constraint error? Newsgroups: comp.lang.ada Organization: Caffinated Corps References: User-Agent: Pan/0.8.1beta4 (Unix) X-No-Productlinks: Yes Message-ID: Date: Sun, 03 Jun 2001 23:26:03 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 991610763 24.0.109.49 (Sun, 03 Jun 2001 16:26:03 PDT) NNTP-Posting-Date: Sun, 03 Jun 2001 16:26:03 PDT Xref: archiver1.google.com comp.lang.ada:8049 Date: 2001-06-03T23:26:03+00:00 List-Id: In article , "David C. Hoos, Sr." wrote: > One obvious error is using the entire string "s" as the argument of the > Float'Value attribute function call. > > You should be using Float'Value (S (1 .. len) > > Also, there's probably no reason to have the length of "s" so small -- > why not make it ten or fifteen characters long, so as to give greater > flexibility as to what the user can enter. That did it. I'm gonna to pay much closer attention to the arguments I pass around. Thanks for the help. I'm really starting to like Ada, but compared to using C it still feels like I'm wrestling a gorilla. I'll get it yet. Thanks again. McDoobie chris@dont.spam.me