RGB function

Returns the RGB (Red, Green, Blue) color value

retval = RGB(red, green, blue)

The RGB function has the following parameters:

ParameterDescription
redThe red value (0 to 255)
greenThe green value (0 to 255)
blueThe blue value (0 to 255)

Returns the RGB color value that can be used for color-related operations.

* Set the background color of a window to yellow (RGB(255,255,0))

declare subroutine set_property

declare function RGB

prevBackColor = Set_Property(@window,'BACKCOLOR',RGB(255,255,0))
  • guides/programming/programmers_reference_manual/rgb.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1