DataBasic Reference > Statements and Intrinsic Functions > M > MULS 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.

RealityV15.1Online Documentation (MoTW) Revision 7

MULS Function (DataBasic) (m618703+muls_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

MULS Function

Multiplies the elements in two dynamic arrays.

Syntax

MULS(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 multiplying the corresponding elements in the original arrays.

Notes

Example

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

Sets NEWARY to "1AM2AM0". The missing third element in ARY2 is treated as 0, so the third element in the result is also 0.

RealityV15.1 (MoTW) Revision 7Comment on this topic