function ComeBackCheck()
print ("come back? <y>/n ? ")
local comeback = read()
if comeback ~= "n" then
comeback = "y"
end
return comeback
end
So that's my code. When I call from my main program: comeback = ComeBackCheck() - it does two things I don't like:
#1: the reponse isn't on the same line; inside the program - it does... Why? Is this not possible?
#2: It doesn't work - and I'm not sure why....
comeback comes back as nil











