Make numberFormat even better

Rick Harrison harrison at all-auctions.com
Tue Apr 25 10:11:53 EDT 2017


Hi Lagi,

I can’t agree more.  Never break anyone’s code if at all possible.
Create a new numberformat like NumberFormatXL or something
similar.  Leave the old working stuff alone. 

Just my 2 cents for the day!

Rick

> On Apr 25, 2017, at 6:48 AM, Lagi Pittas via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi
> 
> I don't know why you want to adapt/enhance the number format as that could
> break already working code that uses the nuances of numberformat already.
> 
> Why not add an instruction NumberFormatXL and create the an Excel version
> like Curry says. You won't have to jump through hoops to make sure it
> doesn't break anything, you can fix what's wrong(?) and you can add stuff
> in there without affecting old code, plus and with Curry's experience with
> spreadlib you probably have a lot of the problems to solve sorted.
> 
> Now my usual caveat "Everything is easy for the man who doesn't have to do
> it himself" - but I haven't seen anything that Mark and his team can't do -
> usually the problems stem from trying no to break older stuff.
> 
> I think in this case adding a new command would make it easier all round.
> While you're at it why not put a callback/ or in  wordpress parlance an
> "AddAction"  option so you can add to the formatting on the fly?
> 
> Regards Lagi
> 





More information about the use-livecode mailing list