# Table Function Behavior in
Infeasible Area

The feasible area of a table function is the
function’s range,
if the function is interpolated; or it is the defined set of points
only, if no interpolation is set. You should define what should happen
if a table function argument lies out of feasible area. Supported
behavior types are the following:

- Error
– If argument lies out of feasible area, runtime error is
raised
and a message box reporting about the error is displayed.

- Nearest
– The
function is extrapolated by using the nearest valid argument, i.e. for
all arguments to the left (right) of the range, the
function takes the value the function has in the leftmost (rightmost)
point.

- Repeating
– The function
is extrapolated by repeating, i.e. it is made periodic with the
function range as a period.

- Custom
– If argument lies out of feasible area, table function
returns a
custom value, defined in the Value
edit box below this option.

- Extrapolate
– The function is extrapolated outside the range in
accordance to the
interpolation type.

To define the
function behavior in infeasible area

- Select the table function icon in the graphical editor or
in the Projects
view.
- In the Properties
view, choose the corresponding function behavior type from the Out of range
drop-down list.

#### Related topics

Table functions

Table function
interpolation

Accessing
table
function values