26.12.2012 Views

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - 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.

The $FISNUM Function<br />

result=$FISNUM(a)<br />

Returns: Logical<br />

<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />

Simulation Macro Functions, Conditional Functions<br />

This function returns $TRUE if the argument a is a number. $FALSE is returned if the argument<br />

is any other type, including $NULL.<br />

The $FISSEQ Function<br />

result=$FISSEQ(a)<br />

Returns: Logical<br />

This function returns $TRUE if the argument a is a sequence. $FALSE is returned if the argument<br />

is any other type, including $NULL.<br />

The $FISSTR Function<br />

result=$FISSTR(a)<br />

Returns: Logical<br />

This function returns $TRUE if the argument a is a string or character. $FALSE is returned if the<br />

argument is any other type, including $NULL.<br />

The $FISWRD Function<br />

result=$FISWRD(a)<br />

Returns: Logical<br />

This function returns $TRUE if the argument a is a MINOR word. $FALSE is returned if the<br />

argument is any other type, including $NULL.<br />

The $FSWITCH Function<br />

result=$FSWITCH(expr1,value1 [,expr2,value2 [,…] ] )<br />

Returns: Any or $NULL<br />

This function‟s argument list consists of pairs of logical expressions and values. The logical<br />

expressions expr are evaluated from left to right, and the value associated with the first expression<br />

to evaluate to true is returned. For example, if expr1 is true, $FSWITCH returns value1. If<br />

expr1 is false, but expr2 is true, $FSWITCH returns value2, and so on.<br />

$FSWITCH returns a value of $NULL if none of the expressions are true. To return some other<br />

value if all expressions are false, use .TRUE. (or $TRUE) as a final expression paired with the<br />

required value. For example:<br />

$FSWITCH(…,.TRUE.,value)<br />

<strong>ICAM</strong> Technologies Corporation – Proprietary 167

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

Saved successfully!

Ooh no, something went wrong!