From 06506329fa89a0513048a000bd06314472c10f2c Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 7 Dec 2023 16:01:43 -0600 Subject: string stuff & closed file from reading --- t.lua | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 't.lua') 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") -- cgit v1.2.3