Don't amputate numberFormat (was: affecting array keys???)
Mark Waddingham
mark at livecode.com
Mon Apr 24 10:32:48 EDT 2017
On 2017-04-24 16:10, Mike Kerner via use-livecode wrote:
> That's too bad. I was hoping that I could trade deprecating
> numberFormat for giving equal rights to the last item in a list.
If you mean:
the number of items in "a,b," should be 3 (and not 2)
and
the number of items in "a,b,c" should be 3
Then, err, no.
Sorry.
To paraphrase Scotty from Star Trek - "I can't change the laws of
logic",
and nor can you ;)
If you want to use string lists which may contain an empty element
then just make sure you always have a trailing delimiter.
Of course, if you don't mean the above, then you might want to
elaborate :)
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