Mark, That won't work because LC won't recognize the last item as empty. Thus put "a," into goop delete item -1 of goop put goop will end up putting empty.
I really want to fix this thing. On Mon, Aug 12, 2013 at 1:47 PM, Mark Wieder <[email protected]> wrote: > Devin- > > Monday, August 12, 2013, 10:30:29 AM, you wrote: > > > You know how I get rid of trailing delimiters? > > > put line 1 to -1 of tList into tList > > > put item 1 to -1 of tItems into tItems > > > Kills that dang dangling delimiter dead. > > Good one. I just opt for the chomp approach > > repeat while item -1 of tList is empty > delete item -1 of tList > end repeat > > -- > -Mark Wieder > [email protected] > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
