Handling of final delimter (was Re: "this me"?)
J. Landman Gay
jacque at hyperactivesw.com
Thu Aug 8 15:34:24 EDT 2013
On 8/8/13 12:45 PM, Ben Rubinstein wrote:
> I think the return (or equally the comma when dealing with items)
> doesn't "belong" to the line that it terminates (as I tend to think of
> it) - or indeed to the line that follows it (as perhaps you do); it is,
> indeed just a delimiter.
My mental model is different. I do think of the delimiter as "belonging"
to the item it delimits. A return character belongs to the line it
follows. A comma belongs to the item it follows. There is no requirement
that a final delimiter be present, but if it is, it doesn't change the
count.
When you think of it that way, it all falls into place.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list