Frequency in Tables
bradmulders
Member Posts: 1
Hi everyone,
I have been trying to find a way to cycle through a table cell by cell, identify its contents and add it to a count without any success.
example : Table of Items
- go thru all the Items in the table and count how many times that item comes up and add that count to another table which could be displayed at the end.
Any thoughts?
Thanks in advance!
I have been trying to find a way to cycle through a table cell by cell, identify its contents and add it to a count without any success.
example : Table of Items
- go thru all the Items in the table and count how many times that item comes up and add that count to another table which could be displayed at the end.
Any thoughts?
Thanks in advance!
Answers
I recommend the timeStamp method.
If you need to cycle through rows _and_ columns, you'll need a loop within a loop.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I knew it would be a loop but I just couldnt wrap my head around the commands.