aboutsummaryrefslogtreecommitdiff
path: root/t.lua
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-07 16:01:43 -0600
committerame <[email protected]>2023-12-07 16:01:43 -0600
commit79e6627bf92bb2bfd5a103cc4006994309b48246 (patch)
tree49c417e57164b7783c9c02f75b5b6356478594b5 /t.lua
parent3c06c70cccd643109d9ee8dde2767460a68dcfb0 (diff)
string stuff & closed file from reading
Diffstat (limited to 't.lua')
-rw-r--r--t.lua19
1 files changed, 14 insertions, 5 deletions
diff --git a/t.lua b/t.lua
index 56aa0f7..484d209 100644
--- a/t.lua
+++ b/t.lua
@@ -1,11 +1,20 @@
require "llib"
local a = llib.array
-local test = {5,"meow",3,2,2,1,8}
-test = a.reverse(test)
+--local test = {5,"meow",3,2,2,1,8}
+--test = a.reverse(test)
-for i=1,#test do
- print(test[i])
+--for i=1,#test do
+-- print(test[i])
+--end
+
+--print(a.index(test,"meow"))
+local ww = a.to_char_array("meow awa")--(a.split(llib.io.readfile("c.lua"),"\n"))
+for i=1,#ww do
+ print(i .. " " .. ww[i])
end
-print(a.index(test,"meow"))
+llib.io.debug("meow")
+llib.io.log("hmm")
+llib.io.warn("nuh uh!")
+llib.io.error("void")