fixed print stuff

This commit is contained in:
Ryan 2017-07-25 13:01:43 -04:00
parent b458da2f50
commit f1c7fde65d
2 changed files with 5 additions and 19 deletions

View File

@ -956,11 +956,11 @@ function parseManager:next(chunk,a,env,dd)
end end
end end
local _args={} local _args={}
print("Calling: "..functest) --~ print("Calling: "..functest)
local loop=parseManager.split(args) local loop=parseManager.split(args)
print("ARG COUNT: ",#loop,args) --~ print("ARG COUNT: ",#loop,args)
for i=1,#loop do for i=1,#loop do
print(loop[i]) --~ print(loop[i])
if type(loop[i])=="userdata" then if type(loop[i])=="userdata" then
table.insert(_args,loop[i]) table.insert(_args,loop[i])
else else
@ -973,7 +973,7 @@ function parseManager:next(chunk,a,env,dd)
--~ v=self:varExists(v) --~ v=self:varExists(v)
--~ end --~ end
local test=self:varExists(loop[i]) local test=self:varExists(loop[i])
print("After Processing: ",test) --~ print("After Processing: ",test)
table.insert(_args,test) table.insert(_args,test)
end end
end end

View File

@ -4,21 +4,7 @@ ENTRY START
a=10>1 -- bit shift a=10>1 -- bit shift
b=10<1 b=10<1
"test: $a$ $b$" "test: $a$ $b$"
testfunc("hello",(5!),(2!)+2) testfunc("hello",(5!),15@1)
-- "Hello It is now time to do some tests!"
-- a=15
-- "a = $a$"
-- b=a@25
-- test2="Yo $a$ $b$" -- create a string with a and b vars
-- "$test2$"
-- "b = $b$"
-- c=5
-- "c = $c$"
-- cf=10+(5!)+10
-- test=(5~5)+5
-- "c! = $cf$ test = $test$"
-- "All done"
-- JUMP(NOVAR)
} }
[@:construct]{ -- get % out of 100 [@:construct]{ -- get % out of 100
ret=l/(r/100) ret=l/(r/100)