*smile* That would be a "Harry met Sally" kind of thing.
Oh dear, my wife would /not/ like hearing that.
No, she's a long ago friend, and we've only recently reconnected thanks
to Facebook.
...not that *I* ever go on, you understand. Uh...it's my wife,
see. She goes on quite a bit and...uh
You are adding 1 to word 2 when there is no space. Tabs are not word
delimiters. I may misunderstand the script though I haven't looked at it in
depth.
Bob
On Jun 27, 2012, at 1:24 AM, Keith Clarke wrote:
> Hi folks,
> I'm working on a simple script to identify and count the unique words dum
On Wednesday, June 27, 2012, Ken Corey wrote:
>
> I'm 47 now, and she *still* calls me 'Corey'.
>
does that make her, "Mrs. Ken"?
:)
--
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV 89109
_
nbr && "delimiters!"
end if
end if
delete item i of dList
end repeat
return delimList
end getDelimiters
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
--
View this message in context:
http://runtime-revolution.278305.n
When I was 13, I got a crush on a girl who asked me my name when we were
in a noisy room. 'Corey' was all she heard.
Of course, being 13, I think I was 14 by the time I bashfully admitted
that was my surname.
I'm 47 now, and she *still* calls me 'Corey'.
No offense taken.
*grin*
-Ken
On
the form:
>
>
> "someWord" & tab & 1
>
>
> This throws the parser for a loop.
>
>
> Craig Newman
>
>
>
> -----Original Message-
> From: Keith Clarke
> To: How to use LiveCode
> Sent: Wed, Jun 27, 2012 4:25 am
> Subject
Whoops, sorry Ken - I was too busy copy & pasting your improvement on my code
to proof-read my thank you email properly!
Your help warranted a 'Mr. Corey' at the very least! :-)
Best,
Keith..
On 27 Jun 2012, at 11:23, Keith Clarke wrote:
> Thanks John & Corey.
___
his throws the parser for a loop.
Craig Newman
-Original Message-
From: Keith Clarke
To: How to use LiveCode
Sent: Wed, Jun 27, 2012 4:25 am
Subject: Syntax for incrementing a numeric 'word'
Hi folks,
I'm working on a simple script to identify and count the unique words
result"
> end if
> if boo > 0 then
> add 1 to item 2 of line boo of fld "result"
> end if
> end repeat
>
> --sort lines of fld "result" numeric descending by item 2 of each
> end mouseUp
>> From: keith.cla...@clark
") into boo
if boo = 0 then
put word count of fld "source" & tab & 1 & cr after fld "result"
end if
if boo > 0 then
add 1 to item 2 of line boo of fld "result"
end if
end repeat
--sort lines of fld
I built a label with multiple lines, put "1 2 3/n2 3 4/n3 4 5" into it
and ran this line of code on it:
add 1 to word 2 of line 2 of field "field"
It worked just as you'd expect it to.
However, this seems a very slow way to do it.
Hashes work a treat for this kind of thing.
on mouseUp
Hi folks,
I'm working on a simple script to identify and count the unique words dumped
into a 'Source' field to create a 'Results' list field with the word and
counter.
However, this script is throwing errors at the line when I attempt to increment
the second word by adding 1 to it. What's wron
12 matches
Mail list logo