So my function loops trough multiple tables to find a certain key, once it finds it, it returns it. Somehow when i return it, the value goes to nil even tho the value is not nil when i print it in the loop
Heres the code:
and heres the output
So my function loops trough multiple tables to find a certain key, once it finds it, it returns it. Somehow when i return it, the value goes to nil even tho the value is not nil when i print it in the loop
Heres the code:
and heres the output
You have to propagate the return value from the nested function.
return deepSearch(SlotData)
Thank you for helping me on this!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.