Testing structured variables with other structured variables
Component Testing for C
You can initialize and test a structured variable or record using another structured variable or record of the same type. The following example illustrates this form:
STR *l, init == , ev = l1
Each field of the structured variable will be initialized or tested using the associated fields of the variable used for initialization or testing.
Related Topics
Testing Variables | Testing a Structured Variable | Testing a Structured Variable with C Expressions | Testing a Structured Variable with Another Structured Variable | C Unions | Omitting a Field's Initial and Test Values