Cicode Programming Reference > Cicode Function Categories > Quality Functions Introduction > QualityIsGood

QualityIsGood

This function will return a value indicating whether the general part of quality is good.

Syntax

QualityIsGood(QUALITY quality)

quality:

Specifies the QUALITY variable.

Return Value

0: the quality is not good.

1: the quality is good.

Related Functions

QualityGetPart, QualityIsBad, QualityIsContolInhibit, QualityIsOverride, QualityIsUncertain, QualitySetPart, QualityToStr, QualityCreate

Example

INT good;
good = QualityIsGood(Tag1.Field.Q);

See Also

Quality Functions