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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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: =?UTF-8?B?QmrDtnJuIEx1bmRpbg==?= Newsgroups: comp.lang.ada Subject: Re: Re-write a file in Ada Date: Mon, 18 Jan 2016 18:30:44 +0100 Organization: A noiseless patient Spider Message-ID: References: <77e47c8b-7dcc-4e86-8f89-1f348cdf08dd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 18 Jan 2016 17:28:01 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="08bf084c24a61a7725f2cc1eda256960"; logging-data="6271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VVAaUsaRL85vY90oAfaiO" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 In-Reply-To: Cancel-Lock: sha1:wdP1Ry3hmGNdTSisgs7vAEDiOpw= Xref: news.eternal-september.org comp.lang.ada:29151 Date: 2016-01-18T18:30:44+01:00 List-Id: On 2016-01-18 01:22, comicfanzine@gmail.com wrote: > Hi , > > björn lundin . > > First , I want to copy every line in a file , in a array of unbounded_Strings , to work on them later . You do not show the work you do on the lines. Are you sure you cannot do the work line by line while you read the file ? Else, as Brian said, use a container, such as a list, and you need not to know how many lies on beforehand. -- -- Björn