Hi Paul,
I should have read it one more time before posting. This should be the
correct script:
repeat for each word myWord in field "Just One"
put myWord & comma after myNewdata
end repeat
delete last char of myNewData
sort items of myNewData
put myNewData into field "Just One"
--
Best reg
On Mon, Sep 22, 2014 at 6:13 AM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:
> repeat for each word myWord in field "Just One"
> put thisWord & comma after myNewdata
> end repeat
> sort items of myNewData
> put char 1 to -2 of myNewData into field "Just One"
>
This loop generate
Hi Larry,
The variable thisWord contains a copy of the item in the field. It
doesn't refer to the actual item. When you put "," after thisWord, you
change the string that is stored in variable thisWord, but not the
string that is stored in field justOne. If you want to change the
contents of
Hi Larry,
Am 22.09.2014 um 15:04 schrieb la...@significantplanet.org:
> Hello,
>
> I have never been able to understand how to use the each form in a repeat
> statement.
>
> Can anyone explain why this code does not work? It is almost verbatim from
> the example in the LC dictionary.
>
> on
Hello,
I have never been able to understand how to use the each form in a repeat
statement.
Can anyone explain why this code does not work? It is almost verbatim from the
example in the LC dictionary.
on mouseUp
repeat for each word thisWord in field justOne
put "," after thisWord
end repe