summaryrefslogtreecommitdiff
path: root/example/script/print_hello.lua
diff options
context:
space:
mode:
authorpengxuanzheng <[email protected]>2020-08-24 17:10:55 +0800
committerpengxuanzheng <[email protected]>2020-08-24 17:10:55 +0800
commit503f4af4d8514913eb2ad0405b557abfd4326976 (patch)
tree5dd4f67e39f543c1cb1e2048eae0c0f720691c58 /example/script/print_hello.lua
Initial commit
Diffstat (limited to 'example/script/print_hello.lua')
-rw-r--r--example/script/print_hello.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/script/print_hello.lua b/example/script/print_hello.lua
new file mode 100644
index 0000000..ee823e7
--- /dev/null
+++ b/example/script/print_hello.lua
@@ -0,0 +1,5 @@
+local str = tsg.data
+print("-----------")
+print("str")
+print("-----------")
+return string.len(str), str