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.
RealityV15.1Online Documentation (MoTW) Revision 7
SUBS Function (DataBasic) (m618703+subs_f.htm)
Subtracts the elements in one dynamic array from those in another.
SUBS(dynArray1, dynArray2)
dynArray1, dynArray2
DataBasic expressions
that evaluate to dynamic arrays.
A dynamic array formed by combining dynArray1 and dynArray2. Each element contains the result of subtracting the element in dynArray1 from the corresponding element in dynArray2.
Notes
ARY1 = 5:@AM:27
ARY2 = 2:@AM:3:@AM:64
NEWARY = SUBS(ARY1, ARY2)
Sets NEWARY to "3AM24AM-64". Because there are only two elements in ARY, the third element (64) in ARY2 is subtracted from 0.