lua-users home
lua-l archive

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


On 4 May 2016 at 21:00, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>         while lastline~=line do lastline=lastline+1 emit("\n") end

Better?:

    emit(("\n"):rep(line-lastline))
    lastline = line