Monday, August 30, 2010

jBase Command ABBS

Use the ABSS function to return the absolute values of all the elements in a dynamic array. If an element in the dynamic array is null, it returns null for that element.

jBase Command Syntax

ABSS (dynamic.array)

Example

Y = REUSE(300)
Z = 500:@VM:400:@VM:300:@SM:200:@SM:100
A = SUBS (Z,Y)
PRINT A
PRINT ABSS (A)

The output of this program is:
200]100]0\-100\-200
200]100]0\100\200

No comments:

Post a Comment