On 2016-04-22 11:42, Kay C Lan wrote:
On Fri, Apr 22, 2016 at 3:59 PM, Alex Tweedly <[email protected]> wrote:
put "43,131,6," into tStore
put the number of items of tStore into msg
sort items of tStore
put cr & the number of items of tStore after msg
Here 'the number of items' is correct, it is 'sort' which breaks
'trailing delimiter rules'. Here are the anomalies we currently know
about where the engine does not follow the rules correctly:
http://quality.livecode.com/show_bug.cgi?id=14874 - revDBQueryList
http://quality.livecode.com/show_bug.cgi?id=14875 - put x into item n of
y
http://quality.livecode.com/show_bug.cgi?id=14876 - delete item x of y
http://quality.livecode.com/show_bug.cgi?id=16588 - sort breaks trailing
delimiter rules
A trailing delimiter *should* always be ignored by the engine.
A trailing delimiter *should* only be necessary if your string-list
might contain empty elements.
Warmest Regards,
Mark.
--
Mark Waddingham ~ [email protected] ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode