[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io:lines() and \0
 
- From: Andrew Starks <andrew.starks@...>
 
- Date: Sat, 22 Feb 2014 07:32:08 -0600
 
On Saturday, February 22, 2014, Enrico Colombini <erix@erix.it> wrote:
On 22/02/2014 13.44, Andrew Starks wrote:
Making something work in lua with file:read  and the "*n" option is very
simple and makes a nice lua 101 tutorial.
(just to avoid confuse readers: I guess you meant file:read(n))
-- 
  Enrico
Sorry. Yes. Also, a follow up thought:
If lines was deprecated, an option *could* be to add another modifier to read. Something like "read until a specified string of symbols or end of file." 
This may not be a perfect suggestion but perhaps it's along the lines of a better idea?
- References:
- io:lines() and \0, René Rebe
 
- Re: io:lines() and \0, steve donovan
 
- Re: io:lines() and \0, René Rebe
 
- Re: io:lines() and \0, Enrico Colombini
 
- Re: io:lines() and \0, steve donovan
 
- Re: io:lines() and \0, René Rebe
 
- Re: io:lines() and \0, Craig Barnes
 
- Re: io:lines() and \0, René Rebe
 
- Re: io:lines() and \0, Sean Conner
 
- Re: io:lines() and \0, René Rebe
 
- Re: io:lines() and \0, Tim Hill
 
- RE: io:lines() and \0, Thijs Schreijer
 
- Re: io:lines() and \0, Enrico Colombini
 
- Re: io:lines() and \0, Andrew Starks
 
- Re: io:lines() and \0, Enrico Colombini