lua-users home
lua-l archive

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


> >         while lastline~=line do lastline=lastline+1 emit("\n") end
> 
> Better?:
> 
>     emit(("\n"):rep(line-lastline))
>     lastline = line

Sure, but perhaps not as clear. Thanks for the feedback.