compc function

Comparison of a field with a constant