This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MagicCraftMaster's profile picture

Endless loop in function

Started by MagicCraftMaster, 07 June 2015 - 06:41 PM
MagicCraftMaster #1
Posted 07 June 2015 - 08:41 PM
i made this program launcher the loop gets stuck when i open the settings function (Not shown)
—————————————
http://pastebin.com/bVpPWjyU
—————————————
how do i stop that loop
P.S. i am a LUA noob


THIS IS AN ABANDONED QUESTION PLEASE DO NOT REPLY
Edited on 02 January 2016 - 06:23 PM
Bomb Bloke #2
Posted 08 June 2015 - 12:41 AM
Move the loop at the bottom out of the function. You need to pull an event before you enter it.