[Helma-user] conversion to lowercase
Hannes Wallnoefer
hannesw at gmail.com
Thu Jun 22 08:44:32 CEST 2006
Hi Kris,
2006/6/22, Kris Leite <kleite at imcsoftware.com>:
> It appears that when a variable is defined on a HopObject
> the variable is converted to lower case. For example:
Yes, it's kind of weird. This is old Helma heritage. I don't know if
anybody "uses" the case insensitivity in HopObject property names.
Maybe we should drop it for the next release (definitely for Helma 2)
hannes
> var h = new HopObject();
> h.sysStoreName = 'Some Name';
> for (var i in h){
> app.log("i="+i);
> }
>
>
> The output is
>
> i=sysstorename
>
> Is this correct behavior?
>
> (Note: If done a simple object variable, the mixed case is kept)
>
> Thanks,
> Kris
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
More information about the Helma-user
mailing list