Case sensitive variable names?

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Case sensitive variable names?

Post by Econdoc » 23 Jan 2017 13:26

Variable Names
I would really like to remove the requirement that variable names are case sensitive. I can see that the content (value) of a variable needs to be case sensitive, but do not understand why the name itself must be stringently applied.
I believe that Global_a and global_a are not the same variable. Ditto for Color="Red" and color="Red". This is very restrictive.

Function Calls
The same issues surrounds functions: IsChecked() is not accepted, but isChecked() is okay. Click(x,y) is not accepted, but click(x,y) is okay. The function call is the same, but one form creates a syntactic error.

Removing all these restrictions in an update will not affect any existing flows. Anyway these restrictions could be removed in an updated version?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Case sensitive variable names?

Post by Martin » 24 Jan 2017 21:18

Hi,

No sorry, removing this restriction affects existing flows since someone might have used upper and lower case variable names and expects the variables to be different.

Regards,
Martin

User avatar
fagci
Posts: 80
Joined: 03 Feb 2017 13:06
Location: Novosibirsk, RU
Contact:

Re: Case sensitive variable names?

Post by fagci » 06 Feb 2017 03:33

Yup. Most of programming languages are case sensitive.

Furthermore, they have own coding style guides.

Best regards, Mikhail.
All systems nominal.

Locked