Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local test = {};
- table.insert(test,"this");
- table.insert(test,"is");
- table.insert(test,"recursion!");
- local function RecursivePrint(index)
- local text = test[index];
- if text == nil then
- return;
- else
- print(text);
- RecursivePrint(index+1);
- end
- end
- RecursivePrint(1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement