lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Am 25.06.2014 21:29 schröbte Coda Highland:
> >On Wed, Jun 25, 2014 at 5:40 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> >>Option names in io.read do not have a starting '*' anymore (+1)
> >
> >Asterisk optional (backwards-compatible), or not supported
> >(compatibility break)?
> 
> `liolib.c` says:
> 
>     if (*p == '*') p++;  /* skip optional '*' (for compatibility) */

And the docs says:

  Option names in io.read do not have a starting * anymore.
  For compatibility, Lua will continue to ignore this character.

-- Roberto