Programming Guide



sm_next_sync

Finds the next synchronized array

int sm_next_sync(int field_number);

field_number
Specifies the field for which a synchronized array is sought.

Returns

Description

Given a field number, sm_next_sync finds the next array synchronized with field_number and returns the field number of the corresponding element in that array. Panther identifies the next synchronized array as the one to the right, unless field_number is in the rightmost synchronized array. In that case, the function returns the corresponding element in the leftmost array that is synchronized with field_number—that is, it wraps around the screen.