Page MenuHomeFeedback Tracker

1.55 - lowercase variable error messages
Closed, ResolvedPublic

Description

Hi Bi,

it confused me completely that variable names are being complained in lower case. I didnt see this error before, but this means not that i just failed to recognize it.

Because it is a completely different variable: please to not "toLowerCase" them.
I was confused that i mixed things up and searched it like mad.

1374 if( typeName aj_VehicleStoreContent != "ARRAY" && cou>
1375 21:38:23 Error position: <aj_VehicleStoreContent != "ARRAY" && cou>
1376 21:38:23 Error Undefined variable in expression: aj_vehiclestorecontent

The message itself is untinteresting. Handling whatif cases at the moment to get a reasonable logging.

Details

Legacy ID
2237445935
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  • Use a camelcase var
  • do something stupid with it
Additional Information

Cant select 1.55

Event Timeline

Hatchet_Harry edited Additional Information. (Show Details)
Hatchet_Harry set Category to Scripting.
Hatchet_Harry set Reproducibility to Always.
Hatchet_Harry set Severity to None.
Hatchet_Harry set Resolution to No Bug.
Hatchet_Harry set Legacy ID to 2237445935.May 8 2016, 1:07 PM

There is no difference between MyVariBle = 123; and myvariabLe = 123; The error displays variable name in lower case for unification. It has been like this since beginning of time.

Hey KK you are still there.
maybe i programmaed to much other stuff in the last few months.

This is pretty annoying but at least it reminds you that all variables are case-insensitive. I would rather see all variable names converted to lowercase than to preserve the case in some situations and convert them to lowercase in others.