Any suggestions?

Chipp Walters chipp at chipp.com
Sun Jul 22 19:28:09 EDT 2012


Peter and Charles,

FWIW, I always use:

delete last char of theList

instead of

put line 1 to -1 of theList into theList -- no trailing return

It works with "item" lists, too and doesn't throw an error if theList is ""

On Sunday, July 22, 2012, Peter M. Brigham wrote:

>
>   repeat with n = 1 to nbr
>      if not the hilite of button n of me then next repeat
>      -- the above line could go first
>      put the short name of button n of me into tName
>      put counter "." && tName & cr after theList
>      -- combine the two repeat loops
>      add 1 to counter
>   end repeat
>   put line 1 to -1 of theList into theList -- no trailing return
>


-- 
Chipp Walters
CEO, Altuit, Inc.



More information about the use-livecode mailing list