diff options
| author | ame <[email protected]> | 2023-12-07 16:01:43 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-07 16:01:43 -0600 |
| commit | 79e6627bf92bb2bfd5a103cc4006994309b48246 (patch) | |
| tree | 49c417e57164b7783c9c02f75b5b6356478594b5 /t.lua | |
| parent | 3c06c70cccd643109d9ee8dde2767460a68dcfb0 (diff) | |
string stuff & closed file from reading
Diffstat (limited to 't.lua')
| -rw-r--r-- | t.lua | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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") |
