Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

IS_BTW( pTarget, pLow, pHigh  )

Purpose

Determine if a target falls within a range.

Arguments

     pTarget -- item to check

     pLow -- lower bound

     phigh -- high bound

Setup

The type of pTarget must match the types of pLow and pHigh.

Example

     ? IS_BTW( 51, 50, 100  )     && Returns .T.
     ? IS_BTW( 50, 50, 100  )     && Returns .T.
     ? IS_BTW( 49, 50, 100  )     && Returns .F.

Returns

.T. if nTarget is between nLow and nHigh, inclusive, else .F.

Side Effects

None.

Artful Calls

None.

Source File

ARTFUL.CH

See Also: MINIMAX()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson