On Aug 12, 2013, at 10:51 AM, Mark Wieder wrote:

> Terry-
> 
> Sunday, August 11, 2013, 11:04:26 PM, Terry Judd wrote:
> 
>> Agreed - for practical purposes it's only 3 - although I still
>> can't get out of the habit of deleting the trailing delimiter from a
>> constructed list before processing it in a repeat loop.
> 
> I do too. And for that reason, neither of us would have code that
> would be affected by changing the way items and lines are counted. But
> there *is* other legacy code out there that does rely on the current
> behavior.


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.

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


_______________________________________________
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

Reply via email to