AW: AW: Lines, items, repeat loops, > not always what you think
fischer at mail.sub.uni-goettingen.de
Wed Oct 19 01:28:55 CDT 2005
> >The number of lines or items does not count an additional empty
> >object at the end: "A,B" and "A,B," both have two items.
> >I would think this is rather a feature, because I don't have to take
> >care of removing delimiters at the end after creating lists with
> >put something & comma after myList
> Except if you are using a list field! Then you either have to remove
> them, or check that the selected line is less than or equal to the
> number of lines in the list field.
Interesting. Yes, you're right, and this is a small difference to HyperCard, which will give you an empty line even if there is no return at the end of the field contents. I wasn't aware of that.
All the best
More information about the use-livecode