<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for wayne-riesterer</title><link href="https://forge.codesys.com/u/wayne-riesterer/activity/" rel="alternate"/><id>https://forge.codesys.com/u/wayne-riesterer/activity/</id><updated>2025-03-08T14:08:01.553000Z</updated><subtitle>Recent activity for wayne-riesterer</subtitle><entry><title>wayne-riesterer posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffd292e47b/?limit=25#3acb" rel="alternate"/><published>2025-03-08T14:08:01.553000Z</published><updated>2025-03-08T14:08:01.553000Z</updated><author><name>wayne-riesterer</name><uri>https://forge.codesys.com/u/wayne-riesterer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/ffd292e47b/?limit=25#3acb</id><summary type="html">Thanks for your responses. I like to write the leanest possible code that I can because it makes it much easier to read/maintain/debug. OR_ELSE is what I was looking for. I wasn't sure if CodeSys short-circuited evaluation and I didn't realize this operator existed. Thanks!</summary></entry><entry><title>wayne-riesterer posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffd292e47b/?limit=25#f803" rel="alternate"/><published>2025-03-07T01:55:54.347000Z</published><updated>2025-03-07T01:55:54.347000Z</updated><author><name>wayne-riesterer</name><uri>https://forge.codesys.com/u/wayne-riesterer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/ffd292e47b/?limit=25#f803</id><summary type="html">Hello Can anyone see any problems with constant assignment as in the following statement: Coils[0] := Coils[0] OR (Buttons[0] AND Sensors[0] &gt; 6); Rather than using the more verbose and vertically-larger: IF NOT Coils[0] AND Buttons[0] AND (Sensors[0] &gt; 6) THEN Coils[0] := TRUE; END_IF Also, is the test expression short-circuited in the latter case? In other words, will the runtime move on after it sees Coils[0] = FALSE AND? Thanks</summary></entry></feed>