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 ()
ABSS Function (DataBasic) (m618703+abss_f.htm)
Generates the absolute (positive) numeric values of the elements in a dynamic array.
ABSS(dynArray)
dynArray A DataBasic expression that evaluates to a dynamic array.
A dynamic array with the same structure as dynArray, but with each numeric value replaced by its absolute value.
Notes
ARY = 1.5:@AM:-2.5:@AM:3.5:@AM:"Fred":@VM:-7:@SVM:-20 NEWARY = ABSS(ARY)
Sets NEWARY to "1.5AM2.5AM3.5AM0VM7SVM20" and, because of the non-numeric element "Fred", generates run-time error B16.