DataBasic Reference > Statements and Intrinsic Functions > A > ADDS Function

Comment on this topic

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 ()

ADDS Function (DataBasic) (m618703+adds_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

ADDS Function

Adds the elements in two dynamic arrays.

Syntax

ADDS(dynArray1, dynArray2)

Syntax Elements

dynArray1, dynArray2
DataBasic expressions that evaluate to dynamic arrays.

Return Value

A dynamic array formed by combining dynArray1 and dynArray2. Each element contains the result of adding the corresponding elements in the original arrays.

Notes

Example

ARY1 = 1:@AM:2:@AM:7
ARY2 = 1:@AM:1
NEWARY = ADDS(ARY1, ARY2)

Sets NEWARY to "2AM3AM7". The missing third element in ARY2 is treated as 0, so the third element in the result is 7.

RealityV15.0Comment on this topic