11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Relational Operators<br />

Parameters<br />

Relational operators are used to compare two expressions. The result of the<br />

comparison is a logical TRUE or FALSE. When arithmetic and relational operators are<br />

combined in one expression, the arithmetic operations are performed first. The table<br />

below shows the allowable relational operators.<br />

Logical Operators<br />

Operator Relation Tested Expression<br />

= Equality X=Y<br />

,>< Inequality XY, X>Y<br />

< Less than or equal X Greater than or equal X>Y<br />

Logical operators perform tests on multiple relations or Boolean operations. A logical<br />

operator returns a result that is either TRUE or FALSE. The outcome of a logical<br />

operation is determined as shown in the table below. These outcomes are listed in<br />

order of precedence. Parentheses are used to change the order of precedence.<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!