Operator (*)

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Operators > Arithmetic >

Operator (*)

 

Description

 

Used to multiply two numbers.

 

Syntax

 

result = expression1 * expression2

 

The * operator syntax has these parts:

 

PartDescription
resultAny variable.
expression1Any expression.
expression2Any expression.

 

Returns

 

N/A

 

Remarks

 

Restrictions

 

See also

 

Examples

 

DIM MyNumber AS LONG

 

'Result will be the number 72

MyNumber = 12 * 6