kolibrios-fun/contrib/other/lua-5.2.0/console.lua

9 lines
133 B
Lua
Raw Normal View History

copen()
cprintf("Console demo\n")
cprintf("Who are you?\n")
name=cgets()
cprintf("Hello, mr.")
cprintf(name)
cprintf("!\n")
cclose()