skip to main content

Library Routines : W$PALETTE : WPALETTE-SET-COLOR

WPALETTE-SET-COLOR
The WPALETTE-SET-COLOR function associates an RGB color to a COBOL color attribute.
Syntax:
 CALL "W$PALETTE" USING WPALETTE-SET-COLOR
Parameters:
01  wpalette-data.
    03 wpal-color-id            pic x comp-x.
    03 wpal-flags
       redefines wpal-color-id  pic x comp-x.
    03 wpal-red                 pic x comp-x.
    03 wpal-user-color-id
       redefines wpal-red       pic x comp-x.
    03 wpal-green               pic x comp-x.
    03 wpal-blue                pic x comp-x.
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left