WrapOperator | ||||||||||
Type | operator | |||||||||
Dictionary | LCB | |||||||||
Library | LiveCode Builder | |||||||||
Syntax |
| |||||||||
Associations | com.livecode.arithmetic | |||||||||
Summary | Wrap operator. | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Description | Use wrap to ensure the value of a variable stays within a specified range. For x,y 0, successive values of x wrap y cycle through the sequence 1, 2, ..., y. |