in reply to Getting numeric value of an alphabetic string
You probably want to use a hash for that.
On unix, /usr/X11/lib/X11/rgb.txt is a useful list of standardized named colors with RGB values.my %color = ( red => 0xFF0000, blue => 0x0000FF, # . . . );
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting numeric value of a alphabetic string
by chakkaln (Sexton) on Aug 05, 2005 at 07:04 UTC | |
by anonymized user 468275 (Curate) on Aug 05, 2005 at 07:51 UTC |