[Bug]write() add 0 to Numbers
JakobDev opened this issue · 3 comments
That's a feature of the Lua REPL. IIRC write
returns the number of new lines - in this case 0. As lua prints the return value, 10 ends up looking like 100.
Yeep. Print does the same thing, but its more clear because that I inserts
a newline and this doesn't
…On 18 Jun 2017 5:31 p.m., "SquidDev" ***@***.***> wrote:
That's a feature of the Lua REPL. IIRC write returns the number of new
lines - in this case 0. As lua prints the return value, 10 ends up looking
like 100.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#322 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3bbKoU-bEAN6s8TWbRnN_gW6lyULpgks5sFVDggaJpZM4N9ih0>
.
I had found this while working on #321 and thought, this is a Bug. Sorry for that.