automatically change local variable names

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

automatically change local variable names

Post by Jan Lichtenbelt »

If you change the name of a global variable, in all places of this variable in the program, the variable name will be changed at the same time.
If you change the name of a local variable, the same variable in the macro does NOT change into the new name.

Perhaps can the automatically change of local variable names made possible in a future version of Flowcode 8.

Kind regards

Jan

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: automatically change local variable names

Post by Benj »

Hi Jan,

Local variables names should do the same thing and auto rename within the macro.

I've just double checked this here and it is working well for me in 8.2. It's something I often use so I think this has been functional since at least v6 and maybe before.

Do you maybe have local and global variables with the same name?

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: automatically change local variable names

Post by Jan Lichtenbelt »

Hi Ben

Rename_Local_Variables.jpg
Rename_Local_Variables.jpg (137.49 KiB) Viewed 2753 times
Change variable names with left arrow procedure, changes all equal variables. Using the procedure with the right arrow, the variables does not change.
I always uses the last one, which resulted in my request.

Kind regards

Jan

Post Reply