Don't amputate numberFormat (was: affecting array keys???)

Mark Waddingham mark at livecode.com
Mon Apr 24 11:06:15 EDT 2017


On 2017-04-24 16:58, Mike Kerner via use-livecode wrote:
> To remind the readers, this is a database thing - null column values 
> cause
> issues with LC when the null value is on the tail.
> All it would take is removing that one little line in the item code - 
> that
> line that makes items less computationally efficient than they could 
> be.

That's an anomaly in revDB because revDB doesn't follow the 'trailing 
delimiter
is optional unless you want a list containing empty elements':

    http://quality.livecode.com/show_bug.cgi?id=14874

That one can be fixed either in queries (by making sure the last column 
you
select can't be NULL - or the empty string); or in code calling it by 
appending
a comma if the line ends in comma.

The engine also has a couple of anomalies with regard string-list 
processing:

    http://quality.livecode.com/show_bug.cgi?id=14875
    http://quality.livecode.com/show_bug.cgi?id=14876

Unfortunately, fixing any three of those without some sort of 
compatibility
mechanism would break large amounts of existing code which is written to
code with the issue.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list