Action: Changecol(N)

Related Actions: changeset, letpal, letset, letcatch
Related Events: col
See also: FKiSS, Events, Actions, KCF

changecol(N)

First defined in: FKiSS1
The changecol action sets the palette for the current page to N. N must be in the range of available palettes.
If N is not the current palette, this may trigger the col event for the new palette.

N

In FKiSS1 to FKiSS2.1, N must be a number.
In FKiSS3, N may be a number or variable.

Example:

;@ changecol(2) ; Change to palette 2.
;@ changecol(P) ; Change to the palette specified in variable P.