Bonjour François,

> Am 23.08.2022 um 16:31 schrieb francois.chaplais via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> 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

Reply via email to