-
Notifications
You must be signed in to change notification settings - Fork 1
int_wrap
Hyomoto edited this page Jun 24, 2021
·
4 revisions
Jump To | Go Back |
Arguments |
---|
Returns: int
Returns the given integer "wrapped" around min and max. This can be used to get overflow behavior f GML's integer type, but will properly wrap as long as min < max.
var _int = int_wrap( 16, 0, 16 );
show_debug_message( _int );
Name | Type | Purpose |
---|---|---|
value | undef |
No description |
min | undef |
No description |
max | undef |
No description |
Devon Mullane 2020