|
ClipRange | |
Result = ClipRange(Value, LowerLimit, UpperLimit) | |
Parameters: Value = The value to clip LowerLimit = The lower limit of the range UpperLimit = The upper limit of the range |
|
Returns: Result = The clipped value |
|
ClipRange clips the specified integer value to a range. If the value is less than the lower limit, the lower limit is returned. If the value is greater than the upper limit, the upper limit is returned. Otherwise the ClipRange returns the original value. Mini Tutorial: This example draws a circle at current mouse position. The circle range motion is clipped to within a certain vertical range using the ClipRange function.
|
Related Info: | ClipRange# | If | Range : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |