The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function WithinBounds (Inval, Boundary1, Boundary2: double): boolean;

The function WithinBounds compares the value Inval to the interval which is spanned by the boundaries Boundary1 and Boundary2. It returns a TRUE value if the value Inval lies within the interval. The two boundary values may be exchanged without affecting the result.

Last Update: 2016-Jun-26