lokale variable in a macro

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

lokale variable in a macro

Post by saschech@gmx.de »

Hallo

If i changing the name of a locale variable inside a macro,it do not changing all names
similar to the global variable.
Why not ?

Regards wolfgang

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: lokale variable in a macro

Post by saschech@gmx.de »

Hallo
To reminiscence.

Regards Wolfgang

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: lokale variable in a macro

Post by Benj »

Hi Wolfgang

Nice bug spot. Yes you are correct icons with local variables are not being automatically updated. This should be taken care of in V4 but for now you will have to try not to rename local variables. If you need to then all the variable references will currently have to be edited by hand.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: lokale variable in a macro

Post by saschech@gmx.de »

Hallo Benj

To do this is a greatly,difficult job...........

Regards wolfgang

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: lokale variable in a macro

Post by Steve »

I've looked into this and fixed in in v4.

As a workaround for v3, you might be able to make the local variable names update ok by also changing the name of the macro (or of one of the parameters) when you change the local variable name. This should save some time.

Post Reply