I tried to create a table and I got this error:
attempt to call global ‘horses’ (a nil value)
Here is all the code I have:
horses{1,2,3,4,5} horses[1].name="Gary" horses[1].age=45 horses[2].name="Barry" horses[2].age=86 horses[3].name="Harry" horses[3].age=420 horses[4].name="Larry" horses[4].age=5 horses[5].name="Jerry" horses[5].age=23
What is wrong with it?