of     1   

coolsamoXD1234
#159832075Friday, April 10, 2015 6:08 AM GMT

function ReturnNine(StartZero) if StartZero == 9 then return StartZero else ReturnNine(StartZero+1) end end print(ReturnNine(0)) howfix?
Arkose
#159832492Friday, April 10, 2015 6:23 AM GMT

function ReturnNine(StartZero) if StartZero == 9 then return StartZero else return ReturnNine(StartZero+1) end end print(ReturnNine(0))
coolsamoXD1234
#159832598Friday, April 10, 2015 6:28 AM GMT

wat Why do you need to return the function? Why does returning the variable at the end of the recursion return empty?
ChiefDelta
#159834023Friday, April 10, 2015 7:29 AM GMT

function returnNine(startZero) if startZero == 9 then return StartZero end returnNine(startZero + 1) end print(returnNine(0))
Arkose
#159834599Friday, April 10, 2015 7:55 AM GMT

Idk how my extra end got in there.
KapKing47
#159839514Friday, April 10, 2015 11:08 AM GMT

lol too many end's XDDD I remember making that mistake, well, back in the days I didnt know much about end's XD "My Life is going Good... but..."
Arkose
#159899530Saturday, April 11, 2015 3:50 AM GMT

I just assumed that my code had an extra end, didn't even read it. Turns out I didn't have an extra end and the code works fine. Also @chief, that wouldn't output nine.

    of     1