Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion sheets/_lua/hello
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
-- to execute:
-- lua hello.lua

io.write("Hello world, from ",_VERSION,"!\n")
-- The simplest way:
print('Hello world', 'from', _VERSION)

-- On the stdout or stderr
io.stdout:write("Hello world, from ",_VERSION,"!\n")
io.stderr:write("Hello world, from ",_VERSION,"!\n")