Tinderbox v9 Icon

* (multiplication)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Operator   [other Operator type actions]

 Item   [operators of similar scope]

 Mathematical   [other Mathematical operators]

 Baseline

 9.1.0


The multiplication operator, * (asterisk character), returns the multiplication of the arguments before and after it.

$MyNumber = 3*4; 

The multiplication operator * may be used to multiply strings. Thus, the expression

$MyString = 3*"xyz"; 

evaluates to a string "xyzxyzxyz".

From v9.1.0, Lists and Sets of numbers may be multiplied by a number. Two lists of numbers may be multiplied if they have the same length, in which case their elements are multiplied.

1;2;34 * 1;2;3;4 ➛ 1;4;9;12 

or, using the range operator:

1...4 * 1...4 ➛ 1;4;9;12