Re: case sensitivity of the keys in an associative array

2022-08-23 Thread francois.chaplais via use-livecode
Thanks to you all!

This list is a treasury.

Chers,
François

> Le 23 août 2022 à 16:46, Klaus major-k via use-livecode 
>  a écrit :
> 
> Bonjour François,
> 
>> Am 23.08.2022 um 16:31 schrieb francois.chaplais via use-livecode 
>> :
>> 
>> Dear list
>> 
>> From my current work on a LiveCode project, it seems that the keys of an 
>> associative array are not case sensitive.
>> 
>> For instance, I may define 
>> theArray[« Ddt »]
>> 
>> If I define now  
>> theArray[« ddt »]
>> 
>> this entry replaces the previous one (forgive apple mail which replaces my 
>> double quotes by french double quotes)
>> 
>> Is this behavior confirmed?
> 
> yes, taht is correct bahvior!
> 
> But you can force case sensitivity in LC:
> ...
> set the casesensitive to TRUE
> answer theArray[« Ddt »]
> ## -> NADA!
> 
> answer theArray[« ddt »]
> ## Will do what you want.
> ...
> 
>> Best regards
>> François
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> 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


case sensitivity of the keys in an associative array

2022-08-23 Thread francois.chaplais via use-livecode
Dear list

From my current work on a LiveCode project, it seems that the keys of an 
associative array are not case sensitive.

For instance, I may define 
theArray[« Ddt »]

If I define now  
theArray[« ddt »]

this entry replaces the previous one (forgive apple mail which replaces my 
double quotes by french double quotes)

Is this behavior confirmed?

Best regards
François
___
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


A question about the compiler to come

2022-03-03 Thread francois.chaplais via use-livecode
Dear all

You probably have received some mail asking for funding concerning a compiler 
to come.

I would like to know if this compiler can target MacOS/ARM processor on the 
desktop.

Best regards,

François
___
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


Re: For the Mathematicians.

2022-01-22 Thread francois.chaplais via use-livecode
In
https://en.wikipedia.org/wiki/Lemniscate_of_Bernoulli 

use the formulation in polar coordinates.
You sample theta, compute the corresponding radius r, convert the polar 
coordinates to usual cartesian coordinates, and draw a line between each point 
for successive angles theta.

This is an explicit formulation (up to the sign or r, but the figure is 
obviously symmetric with respect to the origin).

HTH
François

> Le 22 janv. 2022 à 21:04, Roger Guay via use-livecode 
>  a écrit :
> 
> Thanks, Thomas. I’ve done some of that but you suggest some better keywords 
> to search with. I will give it another go.
> 
> Roger
> 
>> On Jan 22, 2022, at 12:34 PM, Thomas von Fintel via use-livecode 
>>  wrote:
>> 
>> I am not a mathematician, but this kind of equation is called implicit 
>> function, implicit equation or implicit curve. If you search for that 
>> combined with draw or plot, you might find explanations. But it seems to be 
>> complicated.
>> 
>> Hope this helps.
>> Thomas
>> 
>> 
>> 
>>> Am 22.01.2022 um 17:56 schrieb Roger Guay via use-livecode 
>>> :
>>> 
>>> This equation for the lemniscate, (x^2+y^2)^2 = 100*(x^2-y^2) is an 
>>> example of a 2 variable function f(x,y). I am trying to figure how to plot 
>>> such functions in LC. I can do simple functions like y = f(x) and x = f(t), 
>>> y = f(t). Calculators such Good Grapher on the Mac do these f(x,y) 
>>> functions with apparent ease. How? 
>>> 
>>> The only thing I’ve come up with so far is to imbed a y-repeat loop within 
>>> an x-repeat loop where for each value of x (within a certain range), every 
>>> value of y (within a certain range) is tested for the equation being true. 
>>> If true, a point is generated in a point list of a polygon. I think, in 
>>> principle, this should work and with persistence, I might be able make it 
>>> work, but so far, no cigar. 
>>> 
>>> Is there a better way?
>>> 
>>> 
>>> Thanks,
>>> 
>>> Roger
>>> ___
>>> 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


Bug survey

2021-11-02 Thread francois.chaplais via use-livecode
I wanted to answer the LC bug survey. 

The problem is that there is probably no bug number for my problem.

So here it what I wanted to answer to the first question in the survey:



I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27''  iMac, Intel Chip, 8 cores 
i7, 64 Gigs RAM, 4 TB SSD, etc.. 

I have the latest stable build of Livecode (9.6.4 | Build 15551).

When I want to activate a menu item in the Livecode menubar, it constantly 
takes more than one second to react. The Livecode menu. The File menu. Using 
the menu to quit Livecode is for the intrepid.

This is the first impression that I have of the current Livecode app, and it 
discourages me to even try this version.

This should be a no brainer for a 2021 app.




Best regards,

François
___
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


Re: Catalina is a small, rocky, and largely unprepossessing island.

2019-07-14 Thread francois.chaplais via use-livecode
I suggest trying Go64 
https://www.stclairsoft.com/Go64/
which tests your apps for 64 compatibility. My business LC seems OK, I have two 
versions of indie for HTML and go64 indicates that the app is 64bits except for 
the update module.
Now I do not know what Catalina will do with this. Nonetheless, I think it 
should be no hassle for LiveCode to recompile their update module.
Best regards
François

> Le 14 juil. 2019 à 21:02, Dar Scott Consulting via use-livecode 
>  a écrit :
> 
> I wonder if there is a way to get rid of it. What would happen should it be 
> ripped out of the bundle? Would LC die of heartbreak?
> 
> This should be fixed in LC 9.0.6 RC1, but as Mabel told Frederick "It seems 
> so long."
> 
>> On Jul 14, 2019, at 9:47 AM, Matthias Rebbe via use-livecode 
>>  wrote:
>> 
>> Richmond,
>> 
>> is it possible that you´ve enabled one or all options in LC´s 
>> preferences->updates?
>> 
>> If i remember correctly then Panos mentioned in a post that this might come 
>> from updater tool.
>> 
>> Regards,
>> 
>> Matthias
>> Matthias Rebbe
>> 
>> free tools for Livecoders:
>> https://instamaker.dermattes.de 
>> https://winsignhelper.dermattes.de 
>> 
>>> Am 14.07.2019 um 15:55 schrieb Richmond via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> So it would seem.
>>> 
>>> One of the main factors that is stopping me switching my 2018 MacMini over 
>>> to MacOS 10.15
>>> are the continuing messages I am getting about LC 9.0.4 and 9.5 DP1 not 
>>> being optimised for
>>> MacOS 10.14 . . .
>>> 
>>> Richmond.
>>> 
>>> ___
>>> 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