|
| 05 Mar 2014 11:24 AM |
TABLE = { 1, 2, 3, 4, 5 }
for i = 1, #TABLE if TABLE[i] then --How do I test the value of TABLE[i]? end end |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2014 11:28 AM |
if TABLE[i] == 3 then print (TABLE[I]) end --not sure CANT GET ON FRICKIN STUDIO! |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2014 11:33 AM |
| Oh, wow, that simple huh? I was trying to make table out more complicated then they actually are :P |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2014 12:06 PM |
| Dont forget your "do" in your for line. |
|
|
| Report Abuse |
|
|