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
automatically change local variable names
Moderator: Benj
- 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:
- 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
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
Hi Ben
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
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