<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Oct 2016 12:45:00 Z</lastBuildDate><pubDate>6 Oct 2016 11:05:00 Z</pubDate><description>Hi All&#13;
&#13;
I changed the name of a global variable.&#13;
say, from gVariableX to gVariableY, just to make the code more readable and the variable name more easily rememberable..&#13;
There were 390 occurrences.&#13;
Windev then started to "synchronize" the app.&#13;
Took longer than normal.&#13;
Ended up in a mess:&#13;
in the code the variable name became a combination of the new and old names: gVariableYgVariableX!!!!&#13;
And WD did not change all the occurrences!&#13;
390 compilation errors: The identifier 'gVariableYgVariableX' (and gVariableX) is unknown or inaccessible.&#13;
And the app was partly locked. Cannot fix the errors and cannot change anything in code editor in those elements that use this variable. Other elements can be edited..&#13;
Cannot search and replace these errors.&#13;
Repairing the project does not help.&#13;
Recompiling the project does not help.&#13;
Closed the app without saving.&#13;
Re-opened it. It did re-open! But the mess was still there.&#13;
And the problem elements were still locked.&#13;
Closed again.&#13;
Deleted the .cpl sub-directory.&#13;
Re-opened the app. It did re-open. The mess still there. And the problem elements still locked.&#13;
Luckily, I made a back-up just before doing all this.&#13;
Still, my time was wasted.&#13;
But the most important thing, of course, is that there are nice girls and big WX boxes in the 1000 or so new features brochure. Who cares about bugs? Bugs are so boring...&#13;
&#13;
Best regards&#13;
Ola</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times/read.awp</link><title>[WD21] Changing a global variable messed up my app 10 times faster!</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59841/read.awp</comments><pubDate>6 Oct 2016 12:45:00 Z</pubDate><description>I just realized that the locked codes must have been template generated code sections, and therefore they could not be fixed dir…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59841/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59841/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times/read.awp">[WD21] Changing a global variable messed up my app 10 times faster!</source><title>Re: [WD21] Changing a global variable messed up my app 10 times faster!</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59840/read.awp</comments><pubDate>6 Oct 2016 12:23:00 Z</pubDate><description>Hi Guenter,&#13;
&#13;
This was a new feature for me, too.&#13;
Usually the variable name change synchronization works OK, but usually also …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59840/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59840/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times/read.awp">[WD21] Changing a global variable messed up my app 10 times faster!</source><title>Re: [WD21] Changing a global variable messed up my app 10 times faster!</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59839/read.awp</comments><pubDate>6 Oct 2016 11:20:00 Z</pubDate><description>Hi Ola, sorry, I never had that. Didn't even know that it synchronizes after changing a variable's name. Be a wise guy and don't…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59839/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times-59839/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59834-wd21-changing-global-variable-messed-app-10-times/read.awp">[WD21] Changing a global variable messed up my app 10 times faster!</source><title>Re: [WD21] Changing a global variable messed up my app 10 times faster!</title></item></channel></rss>
