FANDOM


Syntax

PRODUCT number number

Explanation

PRODUCT outputs the product of its inputs. PRODUCT expects two inputs, but will accept more if it and all its inputs are enclosed in parentheses.

PRODUCT is equivalent to *.

Examples

? PRODUCT 2 3

Result: 6

? PRODUCT 4 -1.2

Result: -4.80

? PRODUCT -.5 -1.5

Result: 0.75

? (PRODUCT 2 3 4 5)

Result: 120

? TO CUBE :NUM

> PRINT (PRODUCT :NUM :NUM :NUM)

? END

CUBE defined.

? CUBE 3

27

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.