Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

Recommended Posts

Hi,

I have a quick question. I have done this before, but it has been a few years and I cannot find my previous models for reference. I am trying to write an expression to decide the entity type.

My question is about the and/or conditional statements. I know I can use && and both arguments will have to be true. However, what is the operator for if either argument 1 or argument 2 is true.

Relating this to the Simio Expression. I currently am deciding if (is.ModelEntity && Is.TypeA)

I want the expression (Is.ModelEntity & (Is.TypeA OR Is.TypeB)

Thanks in advance!

 

Share this post


Link to post
Share on other sites

The following logical operators are available for use throughout Simio:

== (Equal To)

> (Greater Than)

< (Less Than)

>= (Greater Than or Equal To)

<= (Less Than or Equal To)

&& (And)

|| (Or)

! (Not) , such as !Is.Transporter (is not a Transporter)

!= (Not equal)

Boolean (True/False)

Share this post


Link to post
Share on other sites

×
×
  • Create New...