LOGIC



IF

Click box to see full description


Passes the value T_VAL or F_VAL to the output, depending on COND:
.    IF (COND) OUT=T_VAL 
.    ELSE      OUT=F_VAL

OR

Click box to see full description


Returns the logical OR of the inputs.
If A or B are true, OUT is true, else false.
True is any non-zero number, false is 0.
A  B  OUT
---------
0  0 | 0
0  1 | 1
1  0 | 1
1  1 | 1

XOR

Click box to see full description


Returns the logical XOR of the inputs.
If A and B are logically opposite, output is 1.
If A and B are logically equal, output is 0.
A  B  OUT
---------
0  0 | 0
0  1 | 1
1  0 | 1
1  1 | 0

AND

Click box to see full description


Returns the logical AND of the inputs.
If A and B are true, OUT is true, else false.
True is any non-zero number, false is 0.
A  B  OUT
---------
0  0 | 0
0  1 | 0
1  0 | 0
1  1 | 1

NOT

Click box to see full description


Returns the logical NOT of the input.
If A is true, OUT is false. If A is false, out is true.
True is any non-zero number, false is 0.
A  OUT
------
0 | 1
1 | 0

IS_EVEN

Click box to see full description


If all components of A are even, 
this function returns 1, otherwise 0 is returned.

IS_ODD

Click box to see full description


If all components of A are odd, 
this function returns 1, otherwise 0 is returned.

MATCH

Click box to see full description


Does a string pattern on subject SUBJ.  Returns 1.0 if the pattern
exists anywhere within SUBJ, and 0.0 if the pattern does not exist
within SUBJ.  The pattern PAT can be any regular expression, as
described in the Unix manual page on regex(5), with the following
exception: the $n notation does not work, as there are no return
values from this function.  Note that the pattern does not need to
start in the first character of SUBJ, unless the pattern begins
with the ^ (beginning of string) character.

EQUAL

Click box to see full description


Returns the logical value for a test of equality.
If A == B, OUT is true, else false.
True is any non-zero number, false is 0.

NOT_EQUAL

Click box to see full description


Returns the logical value for a test of in-equality.
If A != B, OUT is true, else false.
True is any non-zero number, false is 0.

LESS_THAN

Click box to see full description


Returns the logical value for a test of A < B.
If A < B, OUT is true, else false.
True is any non-zero number, false is 0.

LESS_OR_EQUAL

Click box to see full description


Returns the logical value for a test of A <= B.
If A <= B, OUT is true, else false.
True is any non-zero number, false is 0.

GREATER_THAN

Click box to see full description


Returns the logical value for a test of A > B.
If A > B, OUT is true, else false.
True is any non-zero number, false is 0.

GREATER_OR_EQUAL

Click box to see full description


Returns the logical value for a test of A >= B.
If A >= B, OUT is true, else false.
True is any non-zero number, false is 0.

WINDOW

Click box to see full description


Returns the logical value for a test of X > MAX or X < MIN.
True is any non-zero number, false is 0.

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.