Sign in to follow this  
derek7

table and index

Recommended Posts

if table that has 3 key value in position 1 of stack and on the table there are a string. so the string position is 2 or 3+1 =4 or 3*2+1 =7??

Share this post


Link to post
Share on other sites
Do you mean in Lua? You need to give a bit more information when asking a question. If you do mean Lua, I think a table, and everything else, counts as 1 item on the stack, but the string won't be on the stack - you have to get to it via the table methods.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this