# COLORTON()

$SYNTAX$

Arguments

  <cAttr> Designates the alphanumeric color attribute that is converted in NN/NN or CC/CC form.

Returns

  COLORTON() returns a number that corresponds to the combined numeric color attribute.

Description

  COLOR TO (N)umeric The function changes an alphanumeric color attribute from NN/NN or CC/CC into a combined numeric attribute. These combined attribute values are useful with the CA-Clipper Tools functions STRSCREEN(), SCREENMIX(), SCREENATTR(), and the CA-Clipper commands SAVE/RESTORE SCREEN.
  TODO: add documentation

Status

  Started

Platforms

  All

Files

  Source is color.prg, library is libct.