#1
Posted 06 July 2013 - 12:05 AM
#2
Posted 06 July 2013 - 12:59 AM
#3
Posted 06 July 2013 - 01:44 AM
#4
Posted 06 July 2013 - 02:01 AM
function()
end
this is of course assuming you have a yield in your function otherwise it will throw the "running to long without yielding" exception
#5
Posted 06 July 2013 - 02:12 AM
#6
Posted 06 July 2013 - 02:14 AM
#7
Posted 06 July 2013 - 02:31 AM
jadelade, on 06 July 2013 - 01:44 AM, said:
xbsktball10x, on 06 July 2013 - 02:01 AM, said:
function()
end
this is of course assuming you have a yield in your function otherwise it will throw the "running to long without yielding" exception
return play( value )but I still say you should restructure the code so that it follows a better design pattern so that there is no need for recursion or tail calls!
xbsktball10x, on 06 July 2013 - 02:14 AM, said:
Quote
Edited by theoriginalbit, 06 July 2013 - 02:34 AM.
#8
Posted 06 July 2013 - 04:59 AM
theoriginalbit, on 06 July 2013 - 02:31 AM, said:
jadelade, on 06 July 2013 - 01:44 AM, said:
xbsktball10x, on 06 July 2013 - 02:01 AM, said:
function()
end
this is of course assuming you have a yield in your function otherwise it will throw the "running to long without yielding" exception
return play( value )but I still say you should restructure the code so that it follows a better design pattern so that there is no need for recursion or tail calls!
I was thinking of having a while loop to repeat the line of code if it repeat the same table in the programs table. Would this improve(not fully fix it) the problem?
#9
Posted 07 July 2013 - 12:07 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users