![]() | Programming Guide | ![]() |
Finds the next synchronized array
int sm_next_sync(int field_number);
field_number- Specifies the field for which a synchronized array is sought.
- · The field number of the next synchronized array, if any.
Given a field number,
sm_next_syncfinds the next array synchronized withfield_numberand returns the field number of the corresponding element in that array. Panther identifies the next synchronized array as the one to the right, unlessfield_numberis in the rightmost synchronized array. In that case, the function returns the corresponding element in the leftmost array that is synchronized withfield_number—that is, it wraps around the screen.
![]()
![]()
![]()
![]()