last char

Chipp Walters chipp at chipp.com
Mon Jan 22 10:58:16 EST 2007


Here's something which may be interesting regarding last char:

I typically do this sort of thing:

repeat for each line L in tList
  put item 1 of L & cr after tList2
end repeat
delete last char of tList2

This works fine, even if tList2 is empty. IOW, I don't have to check to see
if tList2 has cr as it's last char before deleting.



More information about the use-livecode mailing list