[ create a new paste ] login | about

Link: http://codepad.org/VdPRkhcx    [ raw code | output | fork ]

Lua, pasted on Mar 4:
1
2
3
	for i = 1, #cardsToBePlayed do
		table.insert(GLOBAL_VARS.CardPile, cardsToBePlayed[i]); --Placing all entries in CardsToBePlayed onto CardPile
	end


Output:
1
2
3
4
line 1: attempt to get length of global 'cardsToBePlayed' (a nil value)
stack traceback:
	t.lua:1: in main chunk
	[C]: ?


Create a new paste based on this one


Comments: