FANDOM


Syntax

MAKE "BASE number

Explanation

BASE is a pre-defined name which determines the base in which numbers are output by Logo. BASE requires an integer between 2 and 16 as its input.

The base in which numbers are input into Logo is separately controlled by the system name IBASE.

Examples

? MAKE "BASE 2

? PRINT 10

1010

?

10 in base 10 is 01010 in base 2.

? MAKE "BASE 16

? PRINT 10

0A

?

10 in base 10 is 0A in base 16.

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.