|
|
| WrapValue | |
| Value# = WrapValue(Value#, Min#, Max#) | |
| Parameters: Value# = The Value you want to wrap Min# = The lower wrap range Max# = The higher wrap range |
|
| Returns: Value# = The value wrapped within the range |
|
The WrapValue function wraps a value within a range. For example, when a value exceeds the max range, it wraps around from the Min side and vice versa. Mini Tutorial: This example wraps the X coordinates as plots the series of pixels down the screen.
|
| Related Info: | ClipRange | ClipRange# | Mod | Sprites | WrapAngle : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |