Changeset 242 for trunk/SRC/Colors
- Timestamp:
- 04/06/07 10:35:17 (17 years ago)
- Location:
- trunk/SRC/Colors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Colors/color24.pro
r237 r242 44 44 45 45 IF N_ELEMENTS(rgb_triple) NE 3 THEN $ 46 MESSAGE, 'Argument must be a three-element vector.'46 ras= report('Argument must be a three-element vector.') 47 47 48 48 IF MAX(rgb_triple) GT 255 OR MIN(rgb_triple) LT 0 THEN $ 49 MESSAGE, 'Argument values must be in range of 0-255'49 ras = report('Argument values must be in range of 0-255') 50 50 51 51 base16 = [[1L, 16L], [256L, 4096L], [65536L, 1048576L]] -
trunk/SRC/Colors/getcolor.pro
r231 r242 298 298 varInfo = SIZE(thisColor) 299 299 IF varInfo[varInfo[0] + 1] NE 7 THEN $ 300 MESSAGE, 'The color name must be a string.'300 ras = report('The color name must be a string.') 301 301 thisColor = STRUPCASE(thisColor) 302 302 … … 309 309 310 310 IF colorIndex[0] LT 0 THEN BEGIN 311 MESSAGE, "Can't find color. Returning YELLOW.", /INFORMATIONAL311 ras= report("Can't find color. Returning YELLOW.", /INFORMATIONAL) 312 312 colorIndex = 3 313 313 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.