&COLOR(obj)
Accesses the color of an object.
Read/Write - Number - [1..216]
1 = &BLUE
2 = &GREEN
3 =
&CYAN
4 = &RED
5 = &MAGENT
6 = &YELLOW
7 =
&WHITE
8 = &OLIVE
9 = &PINK
10 = &BROWN
11 =
&ORANGE
12 = &PURPLE
13 = &DKRED
14 = &AQUAMR
15 =
&GRAY
When used, the following EDAs indicate that the object's new color will be as specified. You can also READ an object's color. When read, the object returns a value corresponding to the color. The following table indicates the number each color returns.
Parameter |
Description |
&BLUE |
Blue. Returns 1. |
&GREEN |
Green. Returns 2. |
&CYAN |
Cyan. Returns 3. |
&RED |
Red. Returns 4. |
&MAGENT |
Magenta. Returns 5. |
&YELLOW |
Yellow. Returns 6. |
&WHITE |
White. Returns 7. |
&OLIVE |
Olive. Returns 8. |
&PINK |
Pink. Returns 9. |
&BROWN |
Brown. Returns 10. |
&ORANGE |
Orange. Returns 11. |
&PURPLE |
Purple. Returns 12. |
&DKRED |
Dark red. Returns 13. |
&AQUAMR |
Aquamarine. Returns 14. |
&GRAY |
Gray. Returns 15. |