.COLOR SET CURRENT

This subroutine is called to set the "current" Color Object to be a previously initialized Color Object.


Usage:

      PASS         <color_spec_name>          FIELD            SHARE? N
      GOSUB    0CD .COLOR SET CURRENT
      *        Check for error
      IF       0CD .COLOR SET CURRENT         NE

Description:

This makes the specified color object the "current" color object. You can then change aspects of the color object via the various .COLOR SET * routines.

<color_spec_name> must refer to a previous initialized color object (via .COLOR INITIALIZE), or it can be blank to refer to the "unnamed" color object.

The newly selected color object is set to be the "current" color object.

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: r3 - 22 Feb 2012, JeanNeron - This page was cached on 11 Oct 2026 - 03:48.

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