<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Flow Control not working in case of using Library variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a89a45d98/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a89a45d98/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4a89a45d98/</id><updated>2020-02-27T13:48:42.620000Z</updated><subtitle>Recent posts to Flow Control not working in case of using Library variables</subtitle><entry><title>Flow Control not working in case of using Library variables</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a89a45d98/?limit=25#880c" rel="alternate"/><published>2020-02-27T13:48:42.620000Z</published><updated>2020-02-27T13:48:42.620000Z</updated><author><name>esskaey</name><uri>https://forge.codesys.com/u/esskaey/</uri></author><id>https://forge.codesys.com0d15dce7848f63c46a6ccbaf6ba507525547b437</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have some &lt;strong&gt;massive &lt;/strong&gt;problems if I use the "Flow Control" from the Debug menue. If within the code a statement is placed, which refers to a library variable the flow control function is not working.&lt;br/&gt;
eg:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;xFoo&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
    &lt;span class="nv"&gt;iLibFoo&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;iLibFoo&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ELSE&lt;/span&gt;
    &lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;Comment&lt;/span&gt; &lt;span class="nv"&gt;this&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="k"&gt;show&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;flowcontrol&lt;/span&gt; &lt;span class="nv"&gt;again&lt;/span&gt;&lt;span class="o"&gt;!!!&lt;/span&gt;
    &lt;span class="nv"&gt;FLOW&lt;/span&gt;.&lt;span class="nv"&gt;Variables&lt;/span&gt;.&lt;span class="nv"&gt;g_iDummy&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;iLibFoo&lt;/span&gt;&lt;span class="c1"&gt;;// Access to the variable from lib with namespace "FLOW"&lt;/span&gt;
    &lt;span class="c1"&gt;;&lt;/span&gt;
    
&lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=1835" rel="nofollow"&gt;FlowControlNotWorking.projectarchive &lt;span&gt;&lt;span&gt;[814.22 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>