My point was to set variable types when they need to be set explicitly. Those 
who don't want to set a type can just use forget about it. Once you get into 
more scientific, numeric type applications, the precision and type of variables 
can get crucial. To me, the suggested changes to numberformat, adding 
numberformatXL, etc, just make the situation more complex rather than applying 
a simple, direct solution that is common in other programming languages. I see 
no advantage in going through extreme gymnastics to solve a problem that has 
been solved clearly in other environments. As far as I'm concerned, the English 
language-like features are great for the new programmer, but actually doing 
useful work pretty quickly deviates from English like syntax. I'm thinking of 
Adobe Director rather than C++ or JavaScript. To me, LC's greatest strength is 
in its UI support and cross platform capabilities.

Best,
Bill P

William Prothero
http://es.earthednet.org

> On Apr 25, 2017, at 9:27 AM, Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Variable Typing! EEEK!!! 
> 
> Bob S
> 
> 
>> On Apr 25, 2017, at 08:33 , prothero--- via use-livecode 
>> <use-livecode@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@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@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@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to