Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
MODS Function (DataBasic) (m618703+mods_f.htm)
Divides the elements in one dynamic array by those in another, calculating the remainders.
MODS(dynArray1, dynArray2)
dynArray1, dynArray2
DataBasic expressions
that evaluate to dynamic arrays.
A dynamic array formed by combining dynArray1 and dynArray2. Each element contains the remainder of dividing the element in dynArray1 by the corresponding element in dynArray2.
Notes
The remainder is calculated using the formula A - (INT(A/B) * B)
.
ARY1 = 5:@AM:27:@AM:128
ARY2 = 2:@AM:10:@AM:64
NEWARY = MODS(ARY1, ARY2)
Sets NEWARY to "1AM7AM0".