[REBOL] Re: (No subject)Date: Mon, 15 Oct 2001 16:17:22 -0400
From: pwoodward::cncdsl::com at: 15-Oct-2001 13:22
you might try the following snippet for reading values on a line in a
linefile: read/lines %lines.txt
foreach line linefile [
Replace "print line" with with whatever you want to use, line should have
the value you want to use for whatever.
----- Original Message -----
From: "mechtn" <[mechtn--tkweb--net]>
Sent: Monday, October 15, 2001 1:54 PM
> Can anyone tell me how I would make this program read each line from
test.txt and make them a variable. For instance if test.txt had the
following values on each line.
> How could I make the read/lines put that into a variable. Like just keep
reading and making new variables till it hits the end of the file or 30
variables whichever comes first. Thanks guys for all your help!