Lists and Custom Properties

Dick Kriesel dick.kriesel at mail.com
Sat Apr 16 20:42:05 EDT 2005


On 4/16/05 4:48 PM, "Kathy Jaqua" <kgjaqua1 at sbcglobal.net> wrote:

> -- you need to clear out the old lines
>   repeat with x = 1 to the number of lines in me
>     delete line x of me
>   end repeat

There's always one more bug.

When the field has more than one line, that code fails.

If you really want to delete each line one at a time,
repeat with x = number of lines in me down to 1

But the following is easier and faster:
put empty into me

-- Dick




More information about the use-livecode mailing list