The (test) program is supposed to print "I am RUNNING! (1)" "I am RUNNING (2)" etc until you terminate it
code:
function t1()
while true do
print("I am RUNNING! ("..i..")")
i = i+1
sleep(0.5)
end
end
function t2()
run = true
while run == true do
event = os.pullEvent("terminate")
if event == "terminate" then
run = false
print("Wee, it WORKS!")
end
end
end
parallel.waitForAny(t1,t2)
I get the error paralell:22: test:3: attempt to concatenate nil and stringThank you












