Mark Waddingham wrote:

> On 2017-06-22 23:18, Richard Gaskin wrote:
>> With many chunk expressions, I would imagine it does.  With line
>> chunks, for example, the engine needs to walk through the string,
>> comparing each character to CR, counting the found CRs as it goes.
>
> Yes - essentially that is the case (although technically it looks for
> LF, not CR as currently - for better or for worse - the engine assumes
> line means LF as the separator, and normalizes line endings
> appropriately on a per-platform basis when you 'import' things as text
> into LiveCode).

Yes, where I wrote "CR" I meant the LiveCode constant, which historically has been synonymous with LF - has that changed?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to