function a() a() end a()
But is this recursive function calling too?
--Yes it's not a local function because this isn't my real code
function mainMenu()
term.clear()
term.setCursorPos(1,1)
print("1. Option\n2. Option\n")
write("select:")
answer = read()
if answer == "1" then
--Some kind like this ^
if subAnswer1 == "back" then
mainMenu()
end
end
end
I really need help, because I don't want a stack overflow in my program!
Thx for reading
-Freack100-












