[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: load, loadfile etc
- From: Dirk Laurie <dpl@...>
- Date: Wed, 3 Aug 2011 18:46:39 +0200
On Wed, Aug 03, 2011 at 04:32:17PM +0200, Duncan Cross wrote:
> On Wed, Aug 3, 2011 at 1:45 PM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
> > load(io.lines"xxx")
>
> Doesn't it need to be load(io.lines("xxx", "*L"))?
>
Not that easy to catch out LHF. From the manual on `file:lines (···)`
> When no format is given, uses "*l" as a default.
Dirk