IUserAccessiableCreateCyclicArray Method |
Returns an integers array with size inSize, containing numbers in the range [1,inSize], in cyclic order, starting with the number inStart.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int[] CreateCyclicArray(
int inSize,
int inStart
)
Parameters
- inSize
- Type: SystemInt32
represents both result array size and the max value of the content range - inStart
- Type: SystemInt32
the value from [1,inSize] to start the cycle with
Return Value
Type:
Int32integers array (int[] type)
Examples
CreateCyclicArray(5,3), will return an array with size of 5 (5 cells); the array's values content are the numbers 1,2,3,4,5, placed in the next order: 3,4,5,1,2
See Also