Page 1 of 1

automatically change local variable names

Posted: Tue Jul 23, 2019 3:53 pm
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

Re: automatically change local variable names

Posted: Wed Jul 24, 2019 12:45 pm
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?

Re: automatically change local variable names

Posted: Thu Jul 25, 2019 9:29 am
by Jan Lichtenbelt
Hi Ben

Rename_Local_Variables.jpg
Rename_Local_Variables.jpg (137.49 KiB) Viewed 3186 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