Deepu Posted March 29, 2014 Share Posted March 29, 2014 I am a bit confused with tables................ The problem is that I am confused with the following :- *any function for saving group members..... *any function for retrieving group members from a table..... *any function to insert a value or a number to a table..... *empty table that can be used to save the groups..... If anyone could explain the functions or just give the function name then it would be a great help from you. Yours, Deepu! Link to comment
Anubhav Posted March 29, 2014 Share Posted March 29, 2014 1. There is .. setAccountData can work. 2. Loop it.. 3. table.insert or tableName[use one string to name it] = tostring (theValue) 4. setAccountData or maybe createElement or with tables . 5. Yes it can be. You only need to use table.insert or use tableName[use one string to name it] = tostring (theValue) Link to comment
Deepu Posted March 29, 2014 Author Share Posted March 29, 2014 what do you mean by Loop? Can you explain the usage of those functions please? Link to comment
cheez3d Posted March 29, 2014 Share Posted March 29, 2014 You can use pairs and ipairs for looping. http://lua-users.org/wiki/ForTutorial - look at the iterators section Link to comment
Deepu Posted March 30, 2014 Author Share Posted March 30, 2014 k thanks I'll check it and inform you Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now