Re: Counting unique items in a file

2020-04-28 Thread Jim Lambert via use-livecode
function getUniqueNames inData,pColumn split inData by column split inData[pColumn] by return and return combine inData[pColumn] by return and space return inData[pColumn] end getUniqueNames Jim Lambert ___

RE: Counting unique items in a file

2020-04-27 Thread Ralph DiMola via use-livecode
ces rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Monday, April 27, 2020 3:29 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Re: Counting unique items in a file All of that

Re: Counting unique items in a file

2020-04-27 Thread Skip Kimpel via use-livecode
sage- >> From: Skip Kimpel via use-livecode >> To: Dan Friedman >> Cc: Skip Kimpel ; How to use LiveCode < >> use-livecode@lists.runrev.com> >> Sent: Mon, Apr 27, 2020 1:52 pm >> Subject: Re: Counting unique items in a file >> >> Thank

Re: Counting unique items in a file

2020-04-27 Thread Skip Kimpel via use-livecode
ray. > "combine " the array with "return and "comma" > Craig > > > -Original Message- > From: Skip Kimpel via use-livecode > To: Dan Friedman > Cc: Skip Kimpel ; How to use LiveCode < > use-livecode@lists.runrev.com> > Sent: Mon, Apr 27

Re: Counting unique items in a file

2020-04-27 Thread dunbarx--- via use-livecode
Mon, Apr 27, 2020 1:52 pm Subject: Re: Counting unique items in a file Thanks Dan! Upon very quick implementation, I am getting empty results back.  I think I need to play around with this a little bit more but I feel you got me on the right track. Thanks again, SKIP On Mon, Apr 27, 2020 at 1:

Re: Counting unique items in a file

2020-04-27 Thread Skip Kimpel via use-livecode
Thanks Dan! Upon very quick implementation, I am getting empty results back. I think I need to play around with this a little bit more but I feel you got me on the right track. Thanks again, SKIP On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman wrote: > Skip, > > Haven't tested, but pope about

Re: Counting unique items in a file

2020-04-27 Thread Dan Friedman via use-livecode
Skip, Haven't tested, but pope about this... function getUniqueNames inData,pColumn put "" into uNames set the itemDel to tab repeat for each line l in inData add 1 to uNames[item pColumn of l] end repeat return uNames end getUniqueNames You should get back an array keyed by