Handling of final delimter (was Re: "this me"?)

J. Landman Gay jacque at hyperactivesw.com
Sun Aug 11 22:25:47 EDT 2013


On 8/11/13 7:35 PM, Mark Wieder wrote:

> Yes, and with the same problems. The problems occur when you have a
> situation like
>
> This is line 1 <cr>
> This is line 2 <cr><cr> -- there are still only two lines

The engine says that's 3 lines, which is consistent with final terminators.

>
> "1,2,3" -- this contains three items
> "1,2,3," -- this contains three items
> "1,2,3, " -- this contains four items
>

That's consistent. The space is an item, and the last terminator is absent.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list