Trying a custom handler for several math fields

dunbarx at aol.com dunbarx at aol.com
Sun Sep 15 00:08:40 EDT 2013


Geoff.


I could be misRemembering, possibly even in an earlier life (HC), that variable typing was done by the interpreter at runtime, or in HC 2, at compile time.


Maybe this was changed in LC? Someone here must know...


Craig



-----Original Message-----
From: Geoff Canyon <gcanyon at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Sep 14, 2013 9:10 pm
Subject: Re: Trying a custom handler for several math fields


(We agree on all your other points)

I remember reading many years ago on this mailing list that if you assign a 
number  to a variable:

put 52 into x

LC stores that variable as a number from the get-go and only converts it to a 
string if needed.

Sent from my iPad

On Sep 14, 2013, at 9:22 AM, dunbarx at aol.com wrote:

> If you add a number to "50", it is then that the engine types the string as a 
number.

_______________________________________________
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