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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Re-write a file in Ada Date: Mon, 18 Jan 2016 18:37:57 +0000 Organization: A noiseless patient Spider Message-ID: References: <77e47c8b-7dcc-4e86-8f89-1f348cdf08dd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="378129f99c3c32c8ce464f7428f5f75e"; logging-data="21595"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2IUBghGSIhgXmsCDS4NjyAlkGTN1fyhk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:JE8BexGECFadMVv0cYcIP3zcyvo= sha1:DOtfPJCeokMZ2mpY1ncoMPA4Fqs= Xref: news.eternal-september.org comp.lang.ada:29153 Date: 2016-01-18T18:37:57+00:00 List-Id: comicfanzine@gmail.com writes: >>Store your strings in one of the containers from >the Ada.Containers library. > >>-- Brian > > Thanks anyway but , that isn't what i asked . > > All that is must be done for now is : > > Creating a array , which it size must be known according to the number > of lines in the file . > > There is a real issue , if this can't be done without your package . You may have asked about creating an array, but I very much doubt that's your actual problem; I suspect it's your *solution*, and it's wrong. > Plus , here : > https://en.wikibooks.org/wiki/Ada_Programming/Libraries/Ada.Containers > > It Say : " This language feature is only available in Ada 2005 " . > > Wich is not good for portability ( different environnement ( e.g compilor) ) . So which compiler do you propose to use? one that adheres to a 20-year-old version of the standard? > In conclusion , i better use another way . On your own, then.