Re: Text lines into an array of unknown size
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Aug 08, 2003
- 886 views
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])=20
should be
printf(1,"%s\n",{tx[2]})=20
otherwise it will only print the first character of the line.
Pete

