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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.16.233 with SMTP id h69mr5620368yhh.54.1429976247195; Sat, 25 Apr 2015 08:37:27 -0700 (PDT) X-Received: by 10.140.107.69 with SMTP id g63mr39045qgf.31.1429976247178; Sat, 25 Apr 2015 08:37:27 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!z60no3675706qgd.0!news-out.google.com!a41ni849qgf.1!nntp.google.com!j5no3674830qga.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 25 Apr 2015 08:37:27 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.240.246.10; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 87.240.246.10 References: <47c7df1e-17c1-44cb-a455-43431f0d39cd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <79fd6a7c-0ed6-46c4-8b6c-a46e0aec8dbb@googlegroups.com> Subject: Re: Annoying behavior From: Laurent Injection-Date: Sat, 25 Apr 2015 15:37:27 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:192928 Date: 2015-04-25T08:37:27-07:00 List-Id: On Saturday, April 25, 2015 at 10:10:40 AM UTC+2, Niklas Holsti wrote: > Ok. Well, I could have been kinder, sorry. Accepted > Your code looks pretty good to me, but using fixed-length string types > for variable-length data needs some care. Yes I have to change that. For the LIS it is a quite difference if it gets "am" or "am_". The first one will be accepted because it is the defined code for this drug. The second one will fail because the LIS doesn't know it. I have found the chapter about bounded strings which looks like what I have to use. Thanks Laurent