ArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2016-09-01T12:13:53+02:00 https://brainmodular.org/forums/app.php/feed/topic/5496 2016-09-01T12:13:53+02:00 2016-09-01T12:13:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35739#p35739 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
-s

Statistics: Posted by sephult — 01 Sep 2016, 12:13


]]>
2016-09-01T04:40:19+02:00 2016-09-01T04:40:19+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35738#p35738 <![CDATA[Scripting Conditional Statements with Logical Expression]]> Just not conditions.

Statistics: Posted by shawnb — 01 Sep 2016, 04:40


]]>
2016-09-01T02:30:34+02:00 2016-09-01T02:30:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35736#p35736 <![CDATA[Scripting Conditional Statements with Logical Expression]]> Statistics: Posted by shawnb — 01 Sep 2016, 02:30


]]>
2016-08-30T00:13:32+02:00 2016-08-30T00:13:32+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35729#p35729 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
I kept running into this on many times and couldnt figure out why...lol
Glad finally figured out, makes life easier when scripting.

-s

Statistics: Posted by sephult — 30 Aug 2016, 00:13


]]>
2016-08-28T22:40:53+02:00 2016-08-28T22:40:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35718#p35718 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
if ((value > 12)and(value < 24)) then begin

I've learned that this gives more consistent results.

Statistics: Posted by ahonoe — 28 Aug 2016, 22:40


]]>
2016-08-28T18:31:46+02:00 2016-08-28T18:31:46+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35717#p35717 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
FYI

if (value > 12)and(value < 24) = true then begin

should be

if (value > 12)and(value < 24) then begin

because the boolean is assumed and doesn't need to be defined for the condition.

-s

Statistics: Posted by sephult — 28 Aug 2016, 18:31


]]>
2016-08-28T18:28:30+02:00 2016-08-28T18:28:30+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35716#p35716 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
I was wondering if anyone else found issues when trying logical expressions like "and" , "or" ?

Example:
if (value > 12)and(value < 24) = true then begin


I can't seem to figure out why I keep running into problems and it will not enter my condition.
Any guesses?

-s

Statistics: Posted by sephult — 28 Aug 2016, 18:28


]]>
BrainModular BrainModular Users Forum 2016-09-01T12:13:53+02:00 https://brainmodular.org/forums/app.php/feed/topic/5496 2016-09-01T12:13:53+02:00 2016-09-01T12:13:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35739#p35739 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
-s

Statistics: Posted by sephult — 01 Sep 2016, 12:13


]]>
2016-09-01T04:40:19+02:00 2016-09-01T04:40:19+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35738#p35738 <![CDATA[Scripting Conditional Statements with Logical Expression]]> Just not conditions.

Statistics: Posted by shawnb — 01 Sep 2016, 04:40


]]>
2016-09-01T02:30:34+02:00 2016-09-01T02:30:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35736#p35736 <![CDATA[Scripting Conditional Statements with Logical Expression]]> Statistics: Posted by shawnb — 01 Sep 2016, 02:30


]]>
2016-08-30T00:13:32+02:00 2016-08-30T00:13:32+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35729#p35729 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
I kept running into this on many times and couldnt figure out why...lol
Glad finally figured out, makes life easier when scripting.

-s

Statistics: Posted by sephult — 30 Aug 2016, 00:13


]]>
2016-08-28T22:40:53+02:00 2016-08-28T22:40:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35718#p35718 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
if ((value > 12)and(value < 24)) then begin

I've learned that this gives more consistent results.

Statistics: Posted by ahonoe — 28 Aug 2016, 22:40


]]>
2016-08-28T18:31:46+02:00 2016-08-28T18:31:46+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35717#p35717 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
FYI

if (value > 12)and(value < 24) = true then begin

should be

if (value > 12)and(value < 24) then begin

because the boolean is assumed and doesn't need to be defined for the condition.

-s

Statistics: Posted by sephult — 28 Aug 2016, 18:31


]]>
2016-08-28T18:28:30+02:00 2016-08-28T18:28:30+02:00 https://brainmodular.org/forums/viewtopic.php?t=5496&p=35716#p35716 <![CDATA[Scripting Conditional Statements with Logical Expression]]>
I was wondering if anyone else found issues when trying logical expressions like "and" , "or" ?

Example:
if (value > 12)and(value < 24) = true then begin


I can't seem to figure out why I keep running into problems and it will not enter my condition.
Any guesses?

-s

Statistics: Posted by sephult — 28 Aug 2016, 18:28


]]>