AddLevel Method Example

The following example adds a level to the Lookup object Lookup1, using a range comparison. This level will have an output of 100 for any input value between 10 and 20.

Lookup1.AddLevel 10, 100, 20

The following example adds a level to the Lookup object Lookup1, using an exact match comparison. For each input of 40, this level will display an output of 75.

Lookup1.AddLevel 40, 75