Re: Text lines into an array of unknown size

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu