Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The function creates a dynamic array of the element-by-element multiplication of two dynamic arrays. It takes the general form: 

MULS (array1, array2)

Each element of array1 is multiplied by the corresponding element of array2 with the result being returned in the corresponding element of a new dynamic array. If an element of one dynamic array has no corresponding element in the other dynamic array, 0 is returned. If either of a corresponding pair of elements is null, null is returned for that element.

An example of use is as: 


to display an array containing: 4, 10, 18, 0, 0

Go back to JBASE BASIC.

Was this article helpful?