.COLOR SET COLOR:R

Sets the red value of the "current" Color object.


Usage:

      PASS         <red_color_value>          FIELD            SHARE? N
      GOSUB    0CD .COLOR SET COLOR:R
      *        Check for error
      IF       0CD .COLOR SET COLOR:R         NE

Description:

This routine sets the red value of the "current" Color Object. <red_color_value> must be in the range of 1-255 decimal, or 0x00 to 0xFF hexidecimal. A blank will reset the value to the default.

Also see .COLOR SET COLOR:RGB, .COLOR SET COLOR:G, .COLOR SET COLOR:B and .COLOR SET COLOR:A.

See ColorSpec for more information on working with colors.

Comments:

Read what other users have said about this page or add your own comments.


 

-- JeanNeron - 2011-11-15
Topic revision: r4 - 08 Oct 2026, AdminUser - This page was cached on 10 Oct 2026 - 21:07.

Powered by Foswiki. Wiki content belongs to its contributing authors.