Help with Arrays

Peter Haworth pete at
Tue Oct 15 10:04:55 EDT 2013

Or on SQL

SELECT name,count(name) FROM names GROUP BY name ORDER BY name

lcSQL Software
On Oct 14, 2013 9:25 PM, "Mark Wieder" <mwieder at> wrote:

> Bill Vlahos <bvlahos at ...> writes:
> > How would I do this using an array?
> Well, Phil beat me to it, but I was going to suggest much the same thing.
> That repeat loop is what does the trick.
> Of course, the real-world answer probably depends on where the list of
> names
> is coming from... if it's in a mongodb database, just issue an aggregate
> command and get your results much faster with a one-liner than anything you
> could think of doing in a script.
> --
>  Mark Wieder
>  mwieder at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list