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 autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!zen.net.uk!dedekind.zen.co.uk!aioe.org!.POSTED!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: trimming strings Date: Sat, 02 Aug 2014 16:21:38 +0200 Organization: Home - http://www.obry.net Message-ID: <1406989298.2959.306.camel@pascal.home.net> References: Reply-To: pascal@obry.net NNTP-Posting-Host: 9EMXs8w2IB5TG0SCfeRoEA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Complaints-To: abuse@aioe.org X-Mailer: Evolution 3.12.2-1+b1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:188104 Date: 2014-08-02T16:21:38+02:00 List-Id: Le samedi 02 ao=C3=BBt 2014 =C3=A0 09:10 -0400, agent@drrob1.com a =C3=A9cr= it :=20 > I am having a very difficult time understanding something. I am > trying to do this using gnat on Ubuntu 14.04 system: > =20 > with Ada.Strings; use Ada.Strings; > with Ada.Strings.Fixed; use Ada.Strings.Fixed; >=20 > subtype string255fixedtype is string (1.255); > inbuf : string255fixedtype; >=20 > BEGIN > inbuf :=3D Get_Line; > inbuf :=3D trim(inbuf,both); =20 > -- this does not work, error is both is not visible Please post a complete example, there is many errors above, far to many to even pass the compilation. --=20 Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B