repeat with each woord currentWord in myString

Ken Ray kray at sonsothunder.com
Sat Mar 20 16:29:45 EST 2004


> put 1 into counter
> repeat for each word someWord in someVariable
> put someWord into wordarray[counter]
> increment counter by 1 # don't know if Transcript can do 
> this, # the proper way would be to say "counter++", naturally 
> end repeat

You say "add 1 to counter" - a lot clearer than "counter++", IMHO.

:-)

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/




More information about the use-livecode mailing list