Click here to Skip to main content
13,049,233 members (63,778 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.
Posted 31-Jan-12 22:35pm
Updated 31-Jan-12 22:50pm
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
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".

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 1 Feb 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100