23.12.2012 Views

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

>=<br />

><br />

==<br />

!=<br />

&&<br />

||<br />

expN1 < expN2 Returns NUMBER 1 if true.. 0 if false<br />

expS1 < expS2 Returns NUMBER 1 if true.. 0 if false<br />

Chapter 3. <strong>RLIB</strong> Function Table<br />

expD1 < expD2 Returns NUMBER 1 if true.. 0 if false Both date and time are compared if both<br />

have valid components. The dateof and timeof functions can be used to select one or the other.<br />

expN1 >= expN2 Returns NUMBER 1 if true.. 0 if false<br />

expS1 >= expS2 Returns NUMBER 1 if true.. 0 if false<br />

expD1 >= expD2 Returns NUMBER 1 if true.. 0 if false Both date and time are compared if both<br />

have valid components. The dateof and timeof functions can be used to select one or the other.<br />

NUMBER > NUMBER Returns NUMBER 1 if true.. 0 if false<br />

STRING > STRING Returns NUMBER 1 if true.. 0 if false<br />

expD1 > expD2 Returns NUMBER 1 if true.. 0 if false Both date and time are compared if both<br />

have valid components. The dateof and timeof functions can be used to select one or the other.<br />

NUMBER == NUMBER Returns NUMBER 1 if true.. 0 if false<br />

STRING == STRING Returns NUMBER 1 if true.. 0 if false<br />

expD1 == expD2 Returns NUMBER 1 if true.. 0 if false Both date and time are compared if both<br />

have valid components. The dateof and timeof functions can be used to select one or the other.<br />

NUMBER != NUMBER Returns NUMBER 1 if true.. 0 if false<br />

STRING != STRING Returns NUMBER 1 if true.. 0 if false<br />

expD1 != expD2 Returns NUMBER 1 if true.. 0 if false Both date and time are compared if both<br />

have valid components. The dateof and timeof functions can be used to select one or the other.<br />

LOGICAL "AND". iif(m.test1 == 22 && m.test2 == 17, ’passed’, ’failed’)<br />

NUMBER && NUMBER Returns NUMBER 1 if true.. 0 if false<br />

STRING && STRING Returns NUMBER 1 if true.. 0 if false .. True if both strings are not null<br />

NUMBER || NUMBER Returns NUMBER 1 if true.. 0 if false<br />

STRING || STRING Returns NUMBER 1 if true.. 0 if false . True if at least 1 of the strings is not<br />

null<br />

11

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

Saved successfully!

Ooh no, something went wrong!