MULS


The MULS function returns a dynamic array, the content of which is derived by multiplying the corresponding elements of two dynamic arrays passed as arguments.

 

COMMAND SYNTAX

MULS(DynArr1, DynArr2)

 

SYNTAX ELEMENTS

DynArr1 and DynArr2 represent dynamic arrays.

 

NOTES

Null elements of argument arrays are treated as zero. Otherwise, a non-numeric element in an argument array will cause a run-time error.

 

EXAMPLE

X = 1 : @VM : @VM : 5.63 : @VM : 8 : @SVM : 27 : @VM : -4
Y = 1 : @VM : 5 : @VM : 8 : @VM : 70: @VM : 19
P = MULS(X, Y)

The variable P is assigned the value:

1 : @VM : 0 : @VM : 45.04 : @VM : 560 : @SVM : 0 : @VM : -76


jBC