GETPALLET

Syntax

GETPALLET

Explanation

The number of the current pallet is returned. The default value of the pallet when Logo loads is 0. There are four different pallets of 256 pen colors each available.

To change the pallet, use SETPALLET.

See also COLOR for a detailed explanation of how to work with colors, PENCOLOR, SETCOLOR, and SETPC.

Example

? GETPALLET

Result: 0

?