Re: Text lines into an array of unknown size
- Posted by kjactive at adslhome.dk Aug 08, 2003
- 470 views
----- 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