Make numberFormat even better
Bob Sneidar
bobsneidar at iotecdigital.com
Tue Apr 25 12:27:03 EDT 2017
Variable Typing! EEEK!!!
Bob S
> On Apr 25, 2017, at 08:33 , prothero--- via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Folks,
> What I see in this discussion is extreme efforts to do something that is straightforward and transparent in other languages (I can see these suggested solutions as creating unnecessary complexity).That is to simply declare some variable types.
>
> E.g.
> variable ix=integer double
> variable yzz=real
>
> Etc, etc
>
> Variables that are not declared would be handled in the same way they are now, by default.
>
> Just my 2 cents.
> Bill P
>
> William Prothero
> http://es.earthednet.org
>
>> On Apr 25, 2017, at 7:31 AM, Roger Eller via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> +1
>>
>> And if you must introduce a arguably newer/better term, please make its
>> syntax more English-like and less code-like. This _is_ LiveCode. Cryptic
>> is for those other languages. /2_cents
>>
>> ~Roger
>>
>>
>> On Tue, Apr 25, 2017 at 10:11 AM, Rick Harrison via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>
>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list