Signals can be compared sample by sample to produce an integer-valued signal that is 1 when the comparison is true and 0 otherwise. The comparison operator symbols coincide with those in the C language:
For example, the program
process(L,R) = L > R;Produces a signal that is 1 when signal L is greater than signal R and 0 otherwise.