# OR Statements With Expression Tags

**URL:** <https://forum.inductiveautomation.com/t/or-statements-with-expression-tags/99352>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [December 3, 2024, 7:40am UTC](https://forum.inductiveautomation.com/t/or-statements-with-expression-tags/99352 "2024-12-03T07:40:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 3, 2024, 8:13am UTC](https://forum.inductiveautomation.com/t/or-statements-with-expression-tags/99352/2 "2024-12-03T08:13:26Z")

</div>

Welcome to the forum, Christopher. A couple of points:

> [@Christopher\_Cooper1](#):
>
> Since ignition uses jython, the "or" and "OR" expressions from python do not appear to work, so using || is a good work around.

Ignition uses Jython for **scripting**. Your  
`{[~]FOLDER NAME/TAG_NAME.value} || {[~]FOLDER NAME/TAG_NAME.value}`  
is an **expression** and follows the documented rules for [Expression Language and Syntax | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/expression-language-and-syntax) (where you will find the _logical OR_ syntax documented). You can think of Ignition's expression language as being like a spreadsheet's functions.

> Expressions often involve one or more other values that are used to calculate a final value. In most cases, expressions only return a value.

In Excel you would use VBA (Visual Basic for Applications) for scripting and in Ignition it would be Jython.

For posting code here, please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

_[View the full topic](https://forum.inductiveautomation.com/t/or-statements-with-expression-tags/99352)._
