Click here to Skip to main content
15,885,182 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I'm in need for making a table to make some statsitcs.The table is of six colomns but the last column must have many contents of the same category to be processed and the number of contents is variable. Each one of my tables is distinguished by the values of the first and second columns.You can think about it in another way: a pair of data has a collection of contents must be processed.The tables are separate from each other.
Can I get an idea from any one? The language of programming is Lua.
Thanks
Posted
Updated 31-Jan-12 22:50pm
v2
Comments
CPallini 1-Feb-12 4:52am    
Probably I didn't get you (could you please provide an example?), however I don't see the problem, Lua table datatype should fit well with you description. What is your trouble exactly?
heavendec 2-Feb-12 8:38am    
Hi,
Thanks for caring.My problem is that I have a program in Lua that will get information from wireshark. Each (source ip address and destination port) must be coupled together (as an index) and I have to store the destination IP addresses for this index, store the start time as the time of the first captured packet and the end time as the time of the last captured packet.This process must work for each minute, and at the end of the minute I should make some processing in the collected destination ip addresses,and a new collection must start for the next minute.Could I do this? I am new with Lua so I don't realize its features yet.I hope that you have a concise and a well documentation of Lua other than "Programmming in Lua".
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900