Simple test on cell

<< Click to Display Table of Contents >>

Navigation:  User guide > Logic >

Simple test on cell

test of cell - true if the table cell contains:

cell / wconstant                          the exact value of the constant

cell / wconstant1..wconstant2        any value in the range given (inclusive)

cell / >wconstant                        any value greater than the constant

cell / <wconstant                        any value less than the constant (or U)

IMPORTANT: when testing fields, ivars, wvars, and cells for being less than a given value, U (undefined) is in fact a large negative number and will be included in any test using < (less than).

Testing cells should not be done in a tables stage if the table is being incremented in the same stage unless NOLOOP is used.

IMPORTANT: cells should not be tested if %TEX has been used on the table.

Examples of simple tests on cells:

#1(r0,c0)/10.0,

#tot(r1,c6)/0.5..5.5,

#36a(e12)/>99.99999,

#9t(r$ilop,c6)/<100.0,