Re: Text lines into an array of unknown size

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Text lines into an array of unknown size


>
>
> On Fri, 8 Aug 2003 17:46:56 +0200, kjactive at adslhome.dk wrote:
>
> Hi there.
> Matt's quite right, but missed two other errors:
> >file =3D open("c:/rexx/rxcalibur.txt", "r")
>
> should be
>
> file =3D open("c:\\rexx\\rxcalibur.txt", "r")
>
> and
> >printf(1,"%s\n",tx[2])
>
> should be
>
> printf(1,"%s\n",{tx[2]})
>
> otherwise it will only print the first character of the line.
>
> Pete
>
RE| thanks just what I needed

K=E5re Johansson

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu