Simple test on ivar

<< Click to Display Table of Contents >>

Navigation:  User guide > Logic >

Simple test on ivar

test on ivar - true if the ivar contains:

ivar / iconstant                  the value of the constant

ivar / iconstant1..iconstant2        any value in the range given (inclusive)

ivar / >inconstant                any value greater than the constant

ivar / <inconstant                any value less than the constant (or U)

ivar / B                          the value 0

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).

Examples of tests on ivars:

$icnt/10,

$sum/1..5,

$total/>100,

$area/<100,

$iwant/b,

$iwant/0,

$suspect/u,