<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to GVL problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/</id><updated>2020-02-27T15:53:06.680000Z</updated><subtitle>Recent posts to GVL problem</subtitle><entry><title>GVL problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/?limit=25#cb18" rel="alternate"/><published>2020-02-27T15:53:06.680000Z</published><updated>2020-02-27T15:53:06.680000Z</updated><author><name>merlijn</name><uri>https://forge.codesys.com/u/merlijn/</uri></author><id>https://forge.codesys.com59fca15880cda8119838da221deeebf65f7f6991</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello&lt;/p&gt;
&lt;p&gt;Is it possible to change these default settings ??&lt;br/&gt;
and can somebody tell me how&lt;/p&gt;
&lt;p&gt;Already thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GVL problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/?limit=25#2d73" rel="alternate"/><published>2020-02-27T15:53:05.925000Z</published><updated>2020-02-27T15:53:05.925000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com67688633ca7b3d604a4daf9475bfc92e853a5574</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
by default this is added (qualified-only) if you add a new GVL.&lt;br/&gt;
If you remove the attribute it will work without.(would not recommend)&lt;br/&gt;
But better style is to use it. &lt;br/&gt;
Not declaring Enums and GVLs qualified_only may result in ambiguities, unintended shadowing and potentially other problems. These problems could be simply avoided if enums and GVLs were decorated with the attribute by default. &lt;br/&gt;
This would also improve overall code quality, readabilty and explicitness. &lt;br/&gt;
This is since SP8 default.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: qualified" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1784"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GVL problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/?limit=25#baf8" rel="alternate"/><published>2020-02-27T15:53:03.612000Z</published><updated>2020-02-27T15:53:03.612000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com7cb569c04fd505e49b2911e6cd31462b387860e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;This is by design. By including the GVL.xxx you as telling the compiler your scope.  In bigger applications, you may have several "variable1"s.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GVL problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/24d70e593c/?limit=25#a44b" rel="alternate"/><published>2020-02-27T15:53:02.777000Z</published><updated>2020-02-27T15:53:02.777000Z</updated><author><name>marians</name><uri>https://forge.codesys.com/u/marians/</uri></author><id>https://forge.codesys.com58237c7f335c95dea08e6626f46c1ab58c6875da</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;variable declared in "GVL" are not recognised in POU without prefix GVL.variable ... &lt;/p&gt;
&lt;p&gt;I don't know why ... &lt;/p&gt;
&lt;p&gt;Marian&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: GVL_PROBLEM.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1783"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>