Case sensitivity in Livecode ??
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Jun 1 12:51:14 EDT 2022
Not only that, but revOpenDatabase("sqlite", ":MEMORY:") will not work on Windows, but DOES on Mac. revOpenDatabase("sqlite", ":memory:") works on both platforms. Do you know why?? No you do not. No one knows, and will likely NEVER know. LOL!
I suppose :memory: is a kind of system constant?!? But why it is case sensitive on Windows but not on Mac is beyond me. I put it into the bin labeled, "Things that make you go hmmm..."
Bob S
> On Jun 1, 2022, at 09:44 , Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I was surprised to find that
>
> constant K = TRUE
>
> produces an error, though
>
> constant K = true
>
> is fine. In other contexts, you can say
>
> put TRUE into myVar
> put true into hisVar
> etc.
>
> but in a constant statement, it seems to be case sensitive.
>
> Anyone got an interesting story (or theory) on why ? :-)
>
> Thanks
>
> Alex.
>
>
>
> _______________________________________________
> 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